Use a prompt override program

This describes how to use a prompt override program to allow current values rather than defaults to be displayed when a command is prompted.

To use a prompt override program, do the following:

  1. Specify any parameters that are to be key parameters on the PARM statement in the command definition source.
  2. Write a prompt override program.
  3. Specify the name of the prompt override program on the PMTOVRPGM parameter when you create or change the command.