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 15 40 60 72
zone 1 72
trunc 72 When 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 the CMS 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 the X or Y x locate /insert here/ y getfile insert file c
Each time that you enter the X subcommand:
x
the command line LOCATE /INSERT HERE/ is executed, and every time you
enter the Y subcommand:
y
the GETFILE subcommand is executed. When you specify a number following an X or Y subcommand 6 the
subcommand assigned to X or Y is executed the specified number of times;
for example:
x locate /aa/
x 10 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:
locate lardl AARDVARK
=======
the LOCATE subcommand is re-executed seven times5 What the = (REUSE) subcommand actually does is to stack the
subcommand in the console stack. Since CMS, and the editor, read from
the console stack before reading from the terminal, the lines in the
Section 5. The CMS Editor 87
Previous Page Next Page