EDIT Subcommands-CHANGE R. When the IMAGE subcommand is set with the CANON operand, backspace
characters at the beginning or end of stringl are ignored. 9 To a CHANGE subcommand with no operands from a fixed-length you should use the &STACK control statement. When is on, every line that is changed is displayed.
If you issue the CHANGE subcommand without operands at a 3270 display
terminal in display mode, the following occurs:
1. The record pointed to by the current line pointer appears in the user input area of the display. If the line is longer than the
current truncation setting, it is truncated.
2. Yoa can then alter the record in the user input area by retyping
part all of the line, or by using the Insert, Delete, or Erase EOF keys to insert or delete characters.
3. When the line is modified, press the Enter key, which causes the in the user input area to replace the old record at the
current line in the output display area.
If you bring a line down
change it, press the Erase
line is not changed.
to the user input area and decide not to
Input key and then the Enter key, and the When a line is moved to th@ user input area, any characters currently assignej to VM/370 logical line editing symbols (#, ยข,") are
re-interpreted when the line is reentered. Any data that is not retyped
at the input area is reentered without change if it consists of standard
characters only. Other nonprintable characters (including tabs, control characters, etc., and lower-case letters, are either
converted to blanks or translated by zone substitution into upper-case
letters, numbers, or other printable characters. You should issue a
CHANGE subcommand with explicit operands to change lines containing
line-editing symbols, lower-case letters, or nonprintable data.
The CHANGE subcommand is treated as
issued without operands at a typewriter
terminal that is not in display mode.
an invalid subcommand if it is
terminal or at a 3270 display When you request a global change on a 3270 terminal, the display is
changed only once, to reflect the final position of the current line
pointer. The editor displays, in the message area of the display
screen: LINE(S) CHANGED
to indicate the
request resulted
displayed as:
number
in the
of lines that were
truncation of any
updated.
lines,
nnnn LINE(S) CHANGED nnnn LINE{S) TRUNCATED If the change
the message is
If the change request moves the current line pointer beyond the end
of the file, the word EOF: is displayed on the current line preceded by
the last records of the file. The rest of the output area is blank. Section 3. EDIT Subcommands and 223
EDIT Subcommands-CMS eMS Use the CMS subcommand to cause the editor to enter the CKS subset mode,
where you may execute those CMS commands that do not need to use the
main storage being used by the editor. The format of the CKS subcommand
is: r 1 , CMS L- , -.I 1. In CMS subset, you can execute
nu=leus-resident or that executes nu=leus-resident CMS commands are:
CP DEBUG ERASE FETCH GENMOD INCLUDE LOAD LOAD MOD any CMS command that in the transient area. START STATE STATEW The commands that execute in the transient area are: ACCESS LISTFILE RELEASE ASSGN MODMAP RENAME COMPARE OPTION SET DISK PRINT SVCTRACE DLBl. PUNCH SYNONYM FILEDEF QUERY TAPE GENDIRT READCARD TYPE GLOBAL To return to edit mode, use the CMS subset command RETURN. is
The
2. If you attempt to execute a CMS command that requires main storage, you receive the message:
INVALID SUBSET COMMAND Results are unpredictable at this point. You should not attempt to
execute any program that executes in the user program area. Using the LOAD, INCLUDE (RESET), FETCH, START, and RUN commands could
load programs that would overlay the editor's storage area and its
contents. Use these commands only for programs that execute in the
transient area.
3. In an edit macro, if you attempt to use a command that is invalid
in the CMS subset, you receive a return code of -0002. 4. If you attempt to execute a CMS command that fails because of
insufficient storage, your EDIT session may abnormally terminate. You should save input you have entered before you enter eMS subset
mode.
224 VM/370 CMS Command and Macro Reference
Previous Page Next Page