Using a prompt override program for a CL command
A prompt override program can be used to allow current values rather than defaults to be displayed when a command is prompted.
To use a prompt override program, follow these steps:
- Specify any parameters that are to be key parameters on the PARM statement in the command definition source.
- Write a prompt override program.
- Specify the name of the prompt override program on the PMTOVRPGM parameter when you create or change the command.