Pg. of GC20-1S19-2 Rev March 30, 1979 by Supp. SD23-9024-1 for 574S-XXS 2S 29 30 listfile COMMAND DATA A1 COMM2 DATA A1 COMMAND SORT A1 FUNCTION DATA A1 FUNCTION SORT A1
R;
erase command data
R;
rename cOllm2 data a command data a
R;
listfile
FILENAMEFUNCTION COMMAND COMMAND FUNCTION R;
* * a ( labelFILETYPE FM SORT A1
DATA A 1SORT A1
DATA A 1FORMAT F
F
F
F
LRECLSO SO SO SO RECS
22
22
22
22ELOCKS 3
3
3
3
DATE10/13/75 10/13/75 10/13/75 10/13/75 TIME 7:52:03 7:4S:52 7:4S:15 7:51:37
LABEL
ABC191
ABC191
ABC191
ABC191
31 edit function sort
EDIT:
32 zone
33
34
35
28
2930 31
32
33
34
35
180 zone 60 change / // *
Alter the nalle of acms file
Change the name of aCIIS file Verify the existence of a cms file on a read/write disk EOF: top TOF: find List NOT FOUND EOF: case U case m
find List
List information on a cms fileRENAME RENAME STATEW LISTFILE
If these are the only files on your A-disk, the LISTFILE command entered with no
operands produces a list of the files created so far.
The fileCOMM2 was created for a workfile, in case any errors might have happened.
Sinceyou no longer need the original file, COMMAND DATA, you can erase it. Use the RENAME co •• and to rename the workfile COMM2 DATA to have the name COMMAND DATA. The LISTFILE command verifies the change.
To begin altering the fileFUNCTION SORT, invoke the editor again.
TheZONE command requests a display of the current zone settings, which are columns
1 andSO. When you issue the command ZONE 60, it changes the settings to columns 60 and SO, so that you cannot modify data in columns 1 through 59.
The CHANGE subcommand requests that the first appearance of five consecutive blanks
on each line in the file be compressed.The editor displays the results of this
CHANGE request by displaying each line changed (which is each line in the file). The
net effect is to shift the command column 5 spaces to the left.
Position the current line pointer at the top of the file, and then issue a FIND
subcommand to move the line pointer to the line that begins with"List". The editor indicates that the line is not founde Checking the current setting for
the CASE subcommand, you can see that it isU, or uppercase, which indicates that
the editor is translating your input data to uppercase.You can issue the CASE M subcommand to change this setting, then reissue the FIND subcommand. 35S IBM VM/370 CMS User's Guide
R;
erase command data
R;
rename cOllm2 data a command data a
R;
listfile
FILENAME
* * a ( label
DATA A 1
DATA A 1
F
F
F
LRECL
22
22
22
22
3
3
3
DATE
LABEL
ABC191
ABC191
ABC191
ABC191
31 edit function sort
EDIT:
32 zone
33
34
35
28
29
32
33
34
35
1
Alter the nalle of a
Change the name of a
find List
List information on a cms file
If these are the only files on your A-disk, the LISTFILE command entered with no
operands produces a list of the files created so far.
The file
Since
To begin altering the file
The
1 and
The CHANGE subcommand requests that the first appearance of five consecutive blanks
on each line in the file be compressed.
CHANGE request by displaying each line changed (which is each line in the file). The
net effect is to shift the command column 5 spaces to the left.
Position the current line pointer at the top of the file, and then issue a FIND
subcommand to move the line pointer to the line that begins with
the CASE subcommand, you can see that it is
the editor is translating your input data to uppercase.