EDIT Subcommands-SAVE, SCROLL/SCROLLUP SAVE Use the SAVE subcommand to write the file that is currently being edited
onto thedisk, without returning control to CMS, and optionally to
change the file identifier. The format of theSAVE subcommand is:
rI SAVE L- I [fn [ft [fm ]]]
1I ____ .-.J fn indicates the filename of the file to be saved. If you specify
only fn, then the filetype and filemode are the same.
ft indicates the filetype of the file to be saved.
fm indicates the filemode of the file to be saved.
1. If you specify a new file identifier, any existing file with the
same file identifier is replaced; no message is issued. The file
being edited, if previously written to disk, is not altered.
2. To write a file on disk and terminate the editing session, use the
FILE subcommand.
3. If you want to save the contents of a file at regular intervals,
use theAUTOSAVE subcommand.
When verification is on, the editor displays:
EDIT:
to indicate theSAVE request completed successfully and you may continue
to enter EDIT subcommands.SCROLL/SCROLLUP (3270 Only) Use the SCROLL and SCBOLLUP subcommands to scan the contents of a file
on a display screen.SCROLL causes the editor to scan forward through the file; SCROLLUP causes the editor to scan backward through the file. The format of the SCROLL and SCROLLUP subcommands is: r- , , , r 1 I {SCrOll } I In , I S[ croll ]O[ p] 1 1* I 1 I 11 I 1 I L .J L- Section 3. EDIT Subcommands and Macros 247
onto the
change the file identifier. The format of the
r
1
only fn, then the filetype and filemode are the same.
ft indicates the filetype of the file to be saved.
fm indicates the filemode of the file to be saved.
1. If you specify a new file identifier, any existing file with the
same file identifier is replaced; no message is issued. The file
being edited, if previously written to disk, is not altered.
2. To write a file on disk and terminate the editing session, use the
FILE subcommand.
3. If you want to save the contents of a file at regular intervals,
use the
When verification is on, the editor displays:
EDIT:
to indicate the
to enter EDIT subcommands.
on a display screen.