Display a command definition

You can use the Display Command (DSPCMD) command to display or print the values that were specified as parameters on the CRTCMD command.

The Display Command (DSPCMD) command displays the following information for your commands or for IBM-supplied commands:

You can use the Retrieve Command Information (QCDRCMDI) API to return command attributes that were specified on the Create Command (CRTCMD) command when the command was created. You can also use the Retrieve Command Definition (QCDRCMDD) API to retrieve the structure of a command definition object, including parameter information, inter-parameter dependency information, and conditional prompting information.

Related information
Create Command (CRTCMD) command
Change Command (CHGCMD) command
Display Command (DSPCMD) command
Retrieve Command Information (QCDRCMDI) API
Retrieve Command Definition (QCDRCMDD) API