EDIT Subcommands-TABSET, TOP, TRUNC 2. Tab setting operands have no effect if the IMAGE subcommand's
operand is either OFF or CANON. is the default for SCRIPT filetypes) A tab entered into a file under these conditions
appears as X'05'. 3. The margins set by the TABSET subcommand are used by the INPUT, REPLACE, OVERLAY, and FIND subcommands.
None. TOP Use the TOP subcommand to move the line pointer to the top of the file.
The null top line becomes the current line. The format of the TOP is:
r --------, I I L- When verification is on, the message: TOF: is displayed.
When you are using a display terminal, if you specify TOP and is on, the current line contains the characters TOF (indicating the top of the file), the lines preceding it are blank, and
the rest of the screen's output area contains the first lines of the
TRUNC Use the TRONC subcommand to change the truncation column of records or
to display the current truncation column setting. The format of the TRUNC subcommand is:
r , I I r , , I TRUNC I In I I , 1* , I I L J I L- n indicates the column at which truncation is to occur: If n is
specified as an asterisk (*), the truncation column is set to the
record length for the filetype.
252 IBM VM/370 eMS Command and Macro Reference
EDIT SubcJmmands-TRUNC, TYPE 1. The editor assigns the following truncation setting by default: ASSEMBLE, MACRO, UPDATE, UPDTxxxx AMSERV, COBOL, DIRECT, FORTRAN, PLI, PLIOPT All Others 72
Record Length
2. The truncation value is used by the INPUT, REPLACE, STACK, and OVERLAY subcommands also, and, for display terminals in display moie, the CHANGE subcommand when it is used with operands.
3. If your virtual machine is in input mode and you enter a line that
is longer than the current truncation setting, the message: is displayed along with a display of the truncated line. Your virtual machine is still in input mode. When you enter the TRUNC subcommand with no operands, the editor
displays the current setting.
TYPE Use the TYPE subcommand to display all or any part of a file at the
terminal. The format of the TYPE subcommand is:
r 1 , r r
" I Tvpe I 1m In II I I 1* 1* " , I 11 I II I , L L .JJ '=- m indicates the number of lines to be displayed, beginning with
current line. An asterisk (*) indicates all lines between
current line and the end of the file. If m is omitted, only
line is displayed. If the number of lines specified exceeds
number remaining in the file, displaying stops at the end of
n indicates the column at which displaying is to stop, overriding the current end column for verification. If n is specified as an
asterisk (*), it indicates that displaying is to take place for the
full record length.
1. Use the TYPE subcommand to display lines when you are editing a
file with verification off. Section 3. EDIT Subcommands and Macros 253
Previous Page Next Page