Parameters passed to the prompt override program
The prompt override program is passed several parameters.
- A 20-character field. The first 10 characters of the field contain the name of the command and the last 10 characters contain the name of the library.
- A value for each key parameter, if any. If more than one key parameter is defined, the parameter values are passed in the order that the key parameters are defined in the command definition source.
- A 32676-byte (32K) space to hold the command string that is created
by the prompt override program. The first two bytes of this field
must contain the hexadecimal length of the command string that is
returned. The actual command string follows the first two bytes.
For example, when defining two key parameters for a command, four parameters pass to the prompt override program as follows:
- One parameter for the command.
- Two parameters for the key parameters.
- One parameter for the command string space.