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
LISTFILE 2. If you request any additional information with the supplemental
information options, that information is also displayed, along with
the header.
3. When you use the or APPEND option, the EXEC Al that is
created is in the format:
pa &2 filename filetype fm ••• where column 1 is blank.
If you use any of the supplemental information options, that
information is included in the EXEC file. For information on using CMS EXEC files, see the VMLJIQ 4. You can invoke the LISTFILE command from the terminal, from an EXEC file, or as a function from a program. If LISTFILE is invoked as a
function or from an EXEC file that has the &CONTROL option in
effect, the DMSLST002E FILE NOT FOUND error message is not issued.
If the EXEC or APPEND option is not specified, the requested information
is displayed at the terminal. Depending on the options specified, or
discussed above, the information displayed is: FILENAME FILETYPE PM FORMAT RECS BLOCKS DATE TIME LABEL fn ASSEMBLE { FV}
fm lrecl norecs noblks mm/dd/yy hh:mm volid
fn
ft
fm
lrecl
norecs
noblks
is the filename of the file.
is the filetype of the file.
is the filemode of the file
is the file format: F is fixed-length, V is variable-
length.
is the logical record length of the largest record in the
file.
is the number of logical records in the file.
is the number of physical blocks that the file occupies
on disk.
mm/dd/yy is the date (month/day/year) that the file was created •• hh:mm is the time (hours:minutes) that the file was created.
volid is the volume serial number of the virtual disk on which
the file resides. One entry is displayed for each file listed. 116 IBM VM/3 7 Q eMS Command and Macro Reference
Previous Page Next Page