At 9:46 -0600 1/5/04, Michael Anderson wrote:

>One more thought on this subject. Image database root files all have a
>unique filecode value,  -400. Image datasets all have a value of -401.
>So if you want to find all IMAGE databases on a M.P.E. system I would
>rather use the following command:
>
>LISTFILE @[log in to unmask]@;SELEQ=[CODE=-400];FORMAT=6
>
>Explanation:
>What you have settled for by using "listf @[log in to unmask]@" is the first dataset
>in the database, but also any file where the filename ends with "01",
>and that may/mayn't be a database file. Also; the M.P.E. file system
>allows filecode representation to be alpha ("PRIV") and Numeric. When
>you see "PRIV" as a filecode it simply means that the numeric value of
>the filecode is negative, and again this can include non database file
>types.

Very good.  In fact: Excellent!

Thank you for a wonderful piece of code (the :listfile part) and,
even more importantly, for the great documentation ("explanation").

I would particularly like to compliment you on your wise use of
"PRIV" (a very smart -- preventive -- way of avoiding the common
misspelling of "privileged" as "priviledged").

Your note is accurate and precise.  It made my day.

  _______________
 |               |
 |               |
 |            r  |  Alfredo                  http://www.adager.com
 |          e    |
 |        g      |  F. Alfredo Rego
 |      a        |  Manager, R & D Labs
 |    d          |  Adager Corporation
 |  A            |  Sun Valley, Idaho 83353-3000            U.S.A.
 |               |
 |_______________|

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