Use a series of IKJNAME macro instructions to indicate
the possible names for a keyword operand. One IKJNAME macro instruction is needed
for each possible keyword name. Code the IKJNAME macro instructions immediately
following the IKJKEYWD macro instruction to which
they pertain.
Figure 1 shows the format of the IKJNAME macro instruction. Each of
the operands is explained following the figure.
Figure 1. The IKJNAME macro instruction (when
used with the IKJKEYWD macro instruction)IKJNAME 'keyword-name'[,SUBFLD=subfield-name]
[,INSERT='keyword-string']
[,ALIAS=('name','name',...)]
- keyword-name
- One of the valid keyword operands for the IKJKEYWD macro instruction that precedes
this IKJNAME macro instruction.
- SUBFLD=subfield-name
- This option indicates that this keyword name has other operands
associated with it. Use the subfield-name as the label field of the
IKJSUBF macro instruction that
begins the description of the possible operands in the subfield.
See Using IKJSUBF to describe a keyword subfield for a description of the IKJSUBF macro instruction.
- INSERT=‘keyword-string’
- The use of some keyword operands implies that other keyword operands
are required. The Parse Service Routine inserts
the keyword string specified into the command string just as if it
had been entered as part of the original command string. The command
buffer is not altered.
- ALIAS=(‘name’,‘name’,…)
- specifies up to 32 alias names for a keyword. Each name represents
a valid abbreviation or alternate name and must be enclosed in quotes.
All abbreviations or names must be enclosed in a single set of parentheses.
Parse
automatically accepts a keyword abbreviation if the abbreviation is
distinguishable from the other keywords of the command or subcommand.
Therefore, parse does not require you to code unambiguous abbreviations
as alias names.