LISTFILE llSTFllE Use the LISTFILE command to obtain specified information about CMS files
residing on accessed disks. The format of the LISTFILE command is: r Listfile r r r ",
'fn 'ft 'f m, 'I [(options ••• () ]] 1* 1* 1* III L L L .J.J.J r , ,Header I ,NOHeader I L .J r ., IExec I IAPpend, L .J r ., IFName I I FType I I I ,FOrmat, ,ALloc I ,Date , ILabel , L J
-----,
fn is the filename of the files for which information is to be
collected. If an asterisk is coded in this field, all filenames
are used. If you code an asterisk preceded by any number of
characters, then files that begin with the specified characters are
listed.
ft is the filetype of the files for which information is to be
collected. If an asterisk is coded in this field, all filetypes
are used. If you code an asterisk preceded by any number of
characters, then files that begin with the specified characters are
listed.
fm is the filemode of the files for which information is to be
collected. If this field is omitted, only the A-disk is searched.
If an asterisk is coded, all disks are searched.
HEADER includes column headings in the listing. HEADER is the
default if any of the supplemental information options (FORf'IAT, ALLOCATE, DATE, or LABEL) are specified. The
format of the heading is:
FILENAME FILETYPE Ff'I FORMAT RECS BLOCKS DATE TIf'IE LABEL
NOHEADER does not include column headings in the list. NOHEADER is
the default if only filename, filetype, or filemode
information is requested. 114 IBM VM/3 7 0 eMS Command and Macro Reference
EXEC APPEND LISTFILE creates a CMS EXEC file of records (one record
for each of the files that satisfies the given file
identifier) on your A-disk. If a CMS EXEC already exists, it is replaced. The header is not included in the file.
creates a CMS EXEC and appends it to the existing CMS EXEC file. If no CMS EXEC file exists, one is created. Rggy§§1 Qption§: Only one of these options need be
specified. If one is specified, any options with a higher priority
are also in effect. If none of the following options are specified,
the default information request options are in effect.
FNAME FTYPE FMODE FORMAT ALLoe DATE LABEL creates a list containing only filenames. Jption priority
is 7.
creates a list containing only filenames and filetypes. Option priority is 6.
creates a list containing filenames,
filemodes. option priority is 5.
filetypes, and
includes the record format and logical record length of the
of each file in the list. Option priority is 4.
includes the amount of disk space that CMS has allocated to
the specified file in the list. The quantities given are
the number of 800-byte blocks and the number of logical
records in the file. Option priority is 3.
includes the date the file was last written in the list.
The form of the date is:
month/day/year hour:minute Option priority is 2.
includes the label of the disk on which the file resides in
the list. Option priority is 1.
1. If you enter the LISTFILE command with no operands, a list of all
files on your A-disk is displayed at the terminal. If you enter: listfile a* f* c
you might see the display: AARDVARK ANNA AUTHOR FILE
FILEDATA FLINDEX C5 C1 Cl Section 2. CMS :ommands 115
Previous Page Next Page