User-Written Edit Macros You can create the edit macros shown below, for your own use in CMS. You may want to refer to them as examples when you are learning to write
your own macros. The macros have not been formally tested byIBM; they
are presented for your convenience only.$MACROS The $MACROS edit macro verifies the existence of and describes the usage
of edit macros. If you enter:
$macros
it lists the filenames of all the edit macros on your accessed disks.
If you enter:
$macros name1 name2
it displays, for each valid
usage. (This macroassulles respond to a ? request.)
instruction is:
macro name entered, the macro format and
that all macros have heen designed to
The format of the$MICROS edit macro $MACROS filename
[filename1 (filename2 (filenamen]]]
is the filename(s) of macro files whose usage is to
displayed. If filename is omitted, the filenames of
available macro files are listed.
To create$MACROS, enter:
edit $macros exec
and in input mode, enter the following:
320IBM VM/370 CMS User's Guide
be
all
your own macros. The macros have not been formally tested by
are presented for your convenience only.
of edit macros. If you enter:
$macros
it lists the filenames of all the edit macros on your accessed disks.
If you enter:
$macros name1 name2
it displays, for each valid
usage. (This macro
instruction is:
macro name entered, the macro format and
that all macros have heen designed to
The format of the
[filename1 (filename2 (filenamen]]]
is the filename(s) of macro files whose usage is to
displayed. If filename is omitted, the filenames of
available macro files are listed.
To create
edit $macros exec
and in input mode, enter the following:
320
be
all