SYNONYM SYNONYM Use the SYNONYM command to invoke a table of synonyms to be used with,
or in place ofF eMS and user-written command names. You create the
table yourself using the eMS editor. The form for specifying the
entries for the table is described under "The User Synonym Table."
The names you define can be used either instead of or in conjunction
with the standard CMS command truncations. However, no matter what
truncations, synonyms, or truncations of the synonyms are in effect, the
full real name of the command is always accepted. The format of the SYNONYM command is:
r SYNonym r r r ", I fn I I fm I II [(options ••• [) ]] I I l!lH I L L 1* ,..J.J L ..J r , Q£tiQll§: , [CLEAR] INOSTDI L .J
---'-' " I , , I I , , , I fn is the filename of the file containing your synonyms table.
fm is the filemode of the file containing your synonyms; if omitted,
your A-disk and its extensions are searched. If you specify fm, you must enter the keyword, SYNONYM. If you specify fm as an
asterisk (*), all disks are searched for the specified SYNONYM file.
1 NOSTD CLEAR specifies that standard eMS abbreviations are accepted.
standard CMS abbreviations are not to be accepted. (The
full CMS command and the synonyms you defined can still
be used.)
removes any synonym table set by a previously entered SYNONYM command.
If you enter the SYNONYM command
synonym table and the user synonym
with no
operanas, the system
(if one exists) are
2. The SET ABBREV ON or OFF command, in conjunction with the SYNONYM command, determines which standard and user-defined forms of a
particular CMS command are acceptable.
Section 2. CMS Commands 183
THE OSER You create the synonym table using the CKS editor. The table must be a
file with the filetype The file consists of 80-byte fixed-length records in free-form format with columns 73-80 ignored.
The format for each record is:
systemcommand usersynonym count
is the name of the command or or EXEC file for which you
are creating a synonym.
is the synonym you are assigning to the command name. When you
create the synonym, you must follow the same syntax rules as for
commands; that is, you must use the character set used to create
commands, the synonym may be no longer than eight characters, and
so on.
count is the m1n1mum number of characters that must be entered for the
synonym to be accepted by CMS. If omittedr the entire synonym must
be entered (see the following example). A table of command synonyms is built from the contents of this file. You may have several synonym files but only one may be active at a time.
For example, if the synonym file named KYSYN contains: MOVEFILE then, after you have issued the command:
synonym mysyn
the synonym MVIT can be entered as a command MOVEFILE command. It cannot be truncated since no
If SYNONYM contains: GETDISK 3
name to execute the
count is specified.
then, the synonyms GET, GETD, GETDI, GETDIS r or GETDISK can be entered
as the command name instead of If you have an EXEC file named TDISK, you might have a synonym entry: TDISK 2
so that you can invoke the EXEC procedure by specifying the truncation
TD. The default values of the SET and SYNONYM commands are such that the
system synonym abbreviation table is available unless otherwise
for the FILEDEF command states
Therefore, the acceptable
table is available whenever
The system synonym abbreviation table
that FI is the minimum truncation.
abbreviations for FILEDEF are: FI, FIL,
FILEDEF. The system synomym abbreviation
both SET ON and SYNONYM (STD) are in lA4 VM/370 CMS Command and Macro Reference
Previous Page Next Page