HP3000-L Archives

April 2004, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eric Sand <[log in to unmask]>
Reply To:
Eric Sand <[log in to unmask]>
Date:
Mon, 12 Apr 2004 18:34:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
<After ken after Brian>
Hi Brain,
    I have a Cobol subroutine that can be compiled into an XL(or other) that
will return all the known field and record structures, including offsets,
for up to ten Image databases simultaneously. If you'd like a copy please
email me.

     Eric Sand

-----Original Message-----
From: Ken Hirsch [mailto:[log in to unmask]]
Sent: Monday, April 12, 2004 3:25 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] DBGET and extracting comp and/or packed fields


From: "Brian Donaldson" <[log in to unmask]>
>
> I already know the offset and length of the key item from a previous call
> to DBINFO mode 102 outside of the DBGET mode 2 loop.

The offset is not available from DBINFO mode 102.  The only way I know to
get
it is add up the lengths of the previous data items (from 104).

Remember to multiply all the lengths returned from DBINFO by 2 and by the
sub-item count.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2