4. Restore the editor truncation and tab settings:
trunc 71
tabset 1 10 16 31 36 41 51 61 71 81 M2te: If you issue the PRESERVE subcommand before you change the
truncation and tab settings, then after you enter the OVERLAY subcommand, you can restore them with the RESTORE subcommand. See npreserving and Restoring Editor Settings." Use the $MARK Another way to insert a continuation character Is-to-use-the $MARK edit macro. You can find out if the $MARK edit macro
is available on your system by entering, in the CMS or CMS subset
environment:
listfile $mark exec *
If it is not available on your system, you can create the $MARK edit
macro for your own use. See "Section 17. Writing Edit Macros" in "Part 3. Learning to Use EXEC." If you have the $MARK macro, then when you need to enter a
continuation character, you can enter a null line to get into edit mode,
issue the command:
$mark
and then return to input mode to continue entering text.
SERIALIZING RECORDS Some CMS files that you create are automatically serialized for you.
This means that columns 73 to 80 of each record contain an identifier in
the form:
cccxxxxx
where ccc are the first three characters of the filename and xxxxx is a
sequence number. Sequence numbers begin at 00010 and are incremented by 10. The filetypes that are automatically serialized in columns 73 to 80 are: ASSEMBLE DIRECT MACRO FORTRAN COBOL PLI PLIOPT UPDATE UPDTxxxx You can serialize any file that has fixed-length, 80-character
records by using the SERIAL subcommand:
serial on
The SERIAL subcommand can also be used to: Assign a particular three-character identifier:
serial abc 80 IBM VM/370 eMS User's Guide
Specify that all eight bytes of the sequence field be used to contain
numbers:
serial all Specify a sequence increment other than 10: serial on 100 -- or --
serial ccc 100 Indicate that no sequence numbers are to be assigned to new records
being inserted:
serial off When you create a file or edit a file with sequence numbers, the
sequence numbers are not written or updated until you issue a FILE or SAVE subcommand. Because the end verification columns for the filetypes
that are automatically serialized are the same as their truncation
columns, you do not see the serial numbers unless you specify:
verify *
-- or --
verify 80 Although the serial numbers are not displayed While you edit the they do appear on your output listings or printer files.
If you are editing files with the following filetypes: BASIC VSBASIC FREEFORT
the sequence numbers are on the left. For BASIC and VSBASIC files,
columns 1-5 are used; numbers are blank-padded to the left. For
FREEFORT files, the sequence numbers use columns 1-8, and are
zero-padded to the left. To edit these files, you should use line-number
editing, which is discussed next. LINE-NUMBER EDITING
To edit a file by line numbers means that when you are adding new lines
to a file or referencing lines that you wish to change, you refer to
them by their line, or sequence numbers, rather than by character
strings. You can use right line-number editing only on files with
fi'xed-length, 80-character records.
If you want to edit by line numbers, issue the subcommand:
linemode right
-- or --
linemode left Section 5. The CMS Editor 81
Previous Page Next Page