March 30, 1979 c 86.2 IBM VM/370 eMS User's Guide
For example, if you are editing a SCRIPT file and want to change the
image setting to create a particular format, you can enter:
preserve
image on
tabset 1 1540 60 72
zone 1 72
trunc 72When you have finished entering data using these settings, you can issue
the subcommand:
restore
to restore the default settings for SCRIPT filetypes.
x,Y, =, ? SUBCOMMANDS The X, Y, =, and? subcommands all perform very simple
can help you to extend the language of theCMS editor.
to manipulate, reuse, or interrogate EDIT subcommands.
functions that
They allow you
If you have an editing project in
subcommand a number of times, you
subcommands, as follows:
which you have to execute the same
can assign it to theX or Y x locate /insert here/ y getfile insert file c
Each time that you enter theX subcommand:
x
the command line LOCATE /INSERT HERE/ is executed, and every time you
enter theY subcommand:
y
the GETFILE subcommand is executed.When you specify a number following an X or Y subcommand 6 the
subcommand assigned toX or Y is executed the specified number of times;
for example:
x locate /aa/
x10 the LOCATE subcommand line is executed 10 times before you can enter
another EDIT subcommand.
Another method of re-executing a particular subcommand is to use the
=(REUSE) subcommand. For example, if you enter:
locatelardl AARDVARK
=======
the LOCATE subcommand is re-executed seventimes5 What the = (REUSE) subcommand actually does is to stack the
subcommand in the console stack. SinceCMS, and the editor, read from
the console stack before reading from the terminal, the lines in the
Section 5. TheCMS Editor 87
image setting to create a particular format, you can enter:
preserve
image on
tabset 1 15
zone 1 72
trunc 72
the subcommand:
restore
to restore the default settings for SCRIPT filetypes.
x,
can help you to extend the language of the
to manipulate, reuse, or interrogate EDIT subcommands.
functions that
They allow you
If you have an editing project in
subcommand a number of times, you
subcommands, as follows:
which you have to execute the same
can assign it to the
Each time that you enter the
x
the command line LOCATE /INSERT HERE/ is executed, and every time you
enter the
y
the GETFILE subcommand is executed.
subcommand assigned to
for example:
x locate /aa/
x
another EDIT subcommand.
Another method of re-executing a particular subcommand is to use the
=
locate
=======
the LOCATE subcommand is re-executed seven
subcommand in the console stack. Since
the console stack before reading from the terminal, the lines in the
Section 5. The