45
46
47 /COPYFILE Copy CMS files
n
Create a CMS file
n
Display the contents of a CMS file at your terminal
n
Dump CMS files onto tape
n
Erase a CMS file
up 3
Create a CMS file
i Delete a file from a CMS disk
file
R;
48 type function sort a
49 50 Alter the name of a CMS file
Alter the filetype of a CMS file
Change the filename of a CMS file
. Verify the existence of a CMS file on a read/write disk
R;
edit function sort
zone 58
change / // * *
Alter the name of a CMS file Alter the filetype of a CMS file
Change the filename of a CMS file Verify the existence of a CMS file on a read/write disk EOF: top TOF: change //1 / *
Alter the name of a CMS file
Alter the filetype of a CMS file
Change the filename of a CMS file RENAME RENAME RENAME STATEi COPYFILE EDIT TYPE TAPE DUMP ERASE
EDIT
ERASE RENAME RENAME RENAME STATEi RENAME RENAME RENAME Verify the existence of a CMS file on a read/write disk I STATEi EOF: 45 Move the line pointer to the top of the file and begin scanning again. A diagonal
e/) is interpreted as a LOCATE subcommand.
46 The NEXT subcommand can be truncated to "N".
47 In front of the line beginning "Display", insert a line beginning with "Delete". If
you want to make any other modifications, do so. Otherwise, write this file onto
disk with the FILE subcommand.
48 Verify your changes.
49 Edit the file again. To compress unnecessary spaces in right hand columns, change
the zone setting. This time, issue a CHANGE subcommand that will delete all blank
spaces occuring after column 58. Since some changes you made to the file might have
spoiled the alignment in the command column, this CHANGE subcommand should realign
all of the columns. 50 Return the current line pointer to the top of the file. Change a null string to the
string "I " for all lines in the file; since the left zone is still column 58, the
characters are inserted in columns 58 and 59. 360 IBM VM/370 CMS User's Guide
51 zone 1 *
top TOF: c //1 / *
Alter the name of a eMS file
Alter the filetype of a eMS file
Change the filename of a eMS file RENA!E RENAME RENAME Verify the existence of a eMS file on a read/write disk I STATEW EOF: 52 top TOF: next
Alter the name of a eMS file
tabset 72
repeat *
overlay I Alter the name of a eMS file
Alter the filetype of a eMS file
Change the filename of a CMS file
Compare the contents of eMS disk files
Verify EOF: bottom
Verify
53 input
54 zone 1 72
c / /-/
top TOF: 55 input
1
the
the
*
c / /-/ 1 *
56 file
R;
existence
existence
print function sort
R;
of a eMS file on a
of a CMS file on a
read/write disk
read/write disk I RENAME I RENAME RENAME RENAME COMPARE STATEW STATEW 51 Change the left zone setting to column 1 and let the right zone be equal to the
record length; issue the CHANGE subcommand to insert the "I" in columns 1 and 2.
CHANGE can be abbreviated as "C".
52 At the top of the file, change the TABSET subcommand setting to 72. This makes
column 72 the left margin. The REPEAT * subcommand, followed by the OVERLAY subcommand, indicates that all the lines in the file are to be overlaid with a j in
the leftmost column (column 72).
53 When you enter this INPUT subcommand, enter a number of blank spaces following it;
this places a blank line in the file.
54 Reset the ZONE setting to columns 1 and 72. The CHANGE subcommand indicates that all
blanks on this line should be changed to hyphens (-). Only the blanks within the
specified zone are changed.
55 Insert another blank line at the top of the file and change it to hyphens.
56 Write the file onto disk and use the CMS PRINT command to spool a copy to the
offline printer. Sample Terminal Session Using the CMS Editor and CMS File system Commands 361
Previous Page Next Page