Parse builds a halfword (2-byte) PDE to describe a keyword operand;
it has the following format:
Offset decimal |
Meaning |
---|
0 |
Number |
- Number:
- You describe the possible names for a keyword operand to the
parse service routine by coding a list of IKJNAME macro instructions directly following
the IKJKEYWD macro instruction. One IKJNAME macro instruction must be executed for each possible
name.
The Parse Service Routine places into the PDE a number that relates the
keyword name entered to the position of the corresponding IKJNAME macro instruction
in the list of IKJNAME macro instructions. For example, if two IKJNAME macro instructions follow
the IKJKEYWD macro instruction, and the user has entered the second keyword operand,
the Parse Service Routine places a 2 into the PDE.
If the keyword is not entered,
and you did not specify a default in the IKJKEYWD macro instruction, the Parse Service Routine
places a zero into the PDE.