March 30, 1979
44.2 IBM VM/370 eMS User's Guide
The LISTFILE command allows you to request similar lists. If yc
specify an asterisk for a filename or filetype, all of the files of that
filename or filetype are listed. There is an additional feature that you
can use with the LISTFILE command, to obtain a list of all the files
that have a filename or filetype that begin with the same character
string. For example:
listfile t* assemble
produces a list of all files on your A-disk whose filenames begin with
the letter T. The command:
listfile tr* a*
produces a list of all files on your A-disk whose filenames begin with
the letters TR and whose filetypes begin with the letter A.
The COPYFILE, RENAME, and SORT commands allow you to enter output file
identifiers as equal signs (=), to indicate that it is the same as the
corresponding input file identifier. For example:
copyfile myprog assemble b = = a
copies the file MYPROG ASSEMBLE from your B-disk to your A-disk, and
uses the same filename and filetype as specified in the input fileid for
those positions in the output fileid.
Similarly, if you enter the command:
rename temp * b perm
all files with a filename of TEMP are renamed to have filenames of PERM; the existing filetypes of the files remain unchanged.
What Are Reserved Filetypes? For the purposes of most CMS commands, the filetype field is used merely
as an identifier. Some filetypes, though, have special uses in CMS; these are known as "reserved filetypes."
Nothing prevents you from assigning any of the reserved filetypes to
files that are not being used for the specific CMS function normally
associated with that filetype.
Some reserved filetypes also have special significance to the CMS editor. When you use the EDIT command to create a file with a reserved
filetype, the editor assumes various default characteristics for the
file, such as record length and format, tab settings, translation to
uppercase, truncation column, and so on.
Section 4. The CMS File system 45
Previous Page Next Page