HP3000-L Archives

February 2003, Week 4

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:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Thu, 27 Feb 2003 10:46:49 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
At 10:03 AM 2/27/2003, Michael Berkowitz wrote:
>Why not use the image intrinsics available.
>
>1.  Do a DBINFO mode 203 and look at element 1 to get the total number of
>sets.
>2.  From 1 to mode 203 set count do a DBINFO mode 202 on each set
>number.  Elements 1-8 contain the set name for that set number.  Do this
>until returned buffer 1-8 = known set name.
>3.  Your dbsetname now known as root+setnumber.group.account.

Don't forget that set numbers  > 99 begin with "A0, A1,...".   :-)

Also, DBINFO(406) will provide the fully-qualified database name.  This can
be parsed and the corresponding set number inserted....  This will handle
the case that the base name is file-equated to another name, group and/or
account
so using the base name used in DBOPEN may be inaccurate..

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

ATOM RSS1 RSS2