EDIT Subcommands-GETFILE, IMAGE When verification is on, the last line inserted into the file is
displayed. If the end of the file has been reached, the message: EOF REACHED is displayed, followed by the display of the last line inserted. IMAGE Use the IMAGE subcommand to control how the editor should handle
backspaces and tab characters or to display the current image setting. The format of the IMAGE subcommand is:
r I , IMAGE I I , L- I r , I ,ON I , IOFF , , ,CANON, ,L J
1 , , , , I ____________________________ , ______________________________ -J ON specifies that any text entered while in input mode or as a line
of data following a FIND, INPUT, OVERLAY, or REPLACE subcommand, is expanded into a line image; backspaces are removed and tabs
are replaced by blanks. OFF CANON Text entered in the form of delimited strinas. as in LOCATE, and ALTER, is not expanded; tabs and backspaces are
treated in the same way as other characters. IMAGE ON is the default for all filetypes except SCRIPT. specifies that tabs and backspaces are treated
characters in the same way as other charaGters. They
deleted, translated, expanded, or reordered.
as data
are not
specifies that backspaces may be used to produce compound
characters such as underscored words, headings, or phrases.
Before they are inserted in the file, compound characters are
ordered, with backspaces arranged singly between the characters
that overlay each other; the overlaying characters are arranged
according to their EBCDIC values. Tab characters are handled as
for IMAGE OFF. CANON is the default for SCRIPT files.
1. When the image setting is ON, tab characters are expanded to an
appropriate number of blanks, according to the current settings of
the TAB SET subcommand. The TABSET command has no effect if the
image setting is either OFF or CANON. Section 3. EDIT Subcommands and Macros 233
EDIT Subcommands-IMAGE, INPUT 2. When the image setting is on, backspaces are handled as follows: Backspace characters act in a similar manner to the logical
character delete symbol, in deleting the previous characters if
a sufficient number of other characters or blanks follow the
backspace characters. However, backspace characters that
immediately follow a command name are interpreted as separator
characters and do not delete any part of the command name. If a backspace character is the last character in the input
line, it is ignored. When you issue the IMAGE subcommand with no operand, the current IMAGE setting is displayed. INPUT Use the INPUT subcommand to insert a single line into a file, or, if no
data line is specified, to leave edit mode and enter input mode. The
format of the INPUT subcommand is: r -, I Input L- 1 [line] , line specifies the input line to be entered into the file.
contain blanks and tabs; if you enter at least two
following the INPUT subcommand and no additional text,
line is inserted into the file.
It can
blanks
a blank
1. Each line that is inserted into the file becomes the new current
line.
2. When you are using line-number editing (LINEKODE LEFT or LINEMODE
RIGHT) you cannot use the INPUT subcommand to insert a single line
of data; use the nnnnn subcommand.
3. To stack an INPUT subcommand in order to enter input mode from a
fixed-length you should use the SSTACK control statement. When you issue the INPUT subcommand without operands, and verification
is on, the editor displays: INPUT: All subsequent lines you entered are written into the file, until you
enter a null line to return to edit mode.
234 VM/370 eMS Command and Macro Reference
Previous Page Next Page