User manual
Computer Gateway User Manual 4-115 5/96
4.10.5
Message format: Words 1..10—Request echo
Word 11—Return status (0 = normal)
Word 12—Return substatus (0 = normal)
Words 13..26—Request echo
Word 27—Write access code (0 = unprotected)
Word 28—File Type (0 = contiguous, 1 = linked)
Word 29—File record size for fixed length linked files only
(otherwise = 0)
Words 30..31—EOF Number of blocks
Word 32—File block size for linked files only
(otherwise = 0)
Words 33..34—Directory time stamp
(seconds since 1/01/79 00:00)
Word 35—File configuration (0..511)
Word 36—File revision (0..63)
Words 37..38—EOF logical record number (for linked files)
Words 39..40—Reserved for future use
Data information: Words 1..32—File descriptor* (ASCII characters)
Words 33..34—Starting sector on volume
Words 35..36—Ending sector on volume
4.10.5 List Catalog into a File
This request/response pair is used to list file attributes of a file or files into an ASCII text
catalog file. A Data Out request must have been made previously to specify the pathname
of the catalog file. The catalog file can be transferred to the host processor by the Read File
request.
The catalog file content varies according to information requested.
Wild card characters can be used to specify the file(s) to be cataloged. Wildcard
charactgers include * and ?.
Example:
NET>*>*.DB (list all volumes and .DB files on the NET)
NET>A>*.DB (list all .DB files on directories starting with A)
NET>M??N>*.* (list all files in directories starting with M
and ending with N)
The —M(ATCH) option uses wildcards *, ?, and sets[]. The sets can include a group of
characters that would match according to what is defined in the sets.
Example:
a[bcd]e would match abe, ace, or ade.
Using wildcards to list directories, you can only use up to four (4) characters (e.g., &10?).
Wildcards can be used for directory and volume names across the Network Gateway.