Displaying a command definition

To display or print the values that are specified as parameters on the Create Command (CRTCMD) command, use the Display Command (DSPCMD) command.

The 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 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.