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
systemcommand
is the name of the command or or EXEC file for which you
are creating a synonym.
usersynonym
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
specified.
for the FILEDEF command states
Therefore, the acceptable
FILE, FILED, FILEDE, and
table is available whenever
effect.
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
SYNONYM If vou have a synonym table with the file identification USERTAB SYNONYM A, that has the entry:
FILEDEF USENAME 3
then, USENAME is a synonym for FILEDEF, and acceptable truncations of USENAME are: USE, USEN, USENA, USENAM, and USENAME. The user synonym
abbreviation table is available whenever both SET ABBREV ON and SYNONYM USERTAB are specified.
No matter what synonyms and truncations are defined, the full real
name of the command is always in effect.
Figure 20 available for
commands.
lists the forms of the system command and user synonyms
the various combinations of the SET ABBREV and SYNONYM When you enter the SYNONYM command with no operands, the synonym table(s) currently in effect are displayed. SYSTEM COMMAND USER SYNONYM SHORTEST FORM (IF ANY) This response is the same as the response to the command QUERY SYNONYM ALL. DMSSYN
7 11I
NO SYSTEM SYNONYMS IN EFFECT This response is displayed when you issue the SYNONYM command with
no operands after the command SYNONYM (NOSTD) has been issued. DMSSYN712I NO SYNONYMS (DMSINA NOT IN NUCLEUS) The system routine which handles SYNONYM command processing is not
in the system. DMSSYN002E FILE 'fn ft fm' NOT FOUND RC=28 DMSSYN003E INVALID OPTION 'option' RC=24 DMSSYN007E FILE 'fn ft fm' NOT FIXED, 80 CHAR RECORDS RC=32 DMSSYN032E INVALID FILETYPE 'ft' RC=24 DMSSYN056E FILE 'fn ft fm' CONTAINS INVALID RECORD FORMATS RC=32 DMSSYN066E 'option AND 'option' ARE CONFLICTING OPTIONS RC=24 DMSSYN104S ERROR Inn' READING FILE 'fn ft fm' FROM DISK RC=100
section 2. CMS Commands 185
Previous Page Next Page