DSPCMD (Display Command) Command Description
Purpose
The Display Command (DSPCMD) command shows some of the values that were specified for parameters in the Create Command (CRTCMD) command.
Required Parameter
- CMD
- Specifies the qualified name of the user-defined or IBM-supplied command.
The name of the command can be qualified by one of the following library values:
*LIBL: All libraries in the job's library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name: Specify the name of the library to be searched.
command-name: Specify the name of the command values being displayed.
Optional Parameter
- OUTPUT
- Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Example for DSPCMD
DSPCMD CMD(PAYROLL)This command shows all current user-assigned parameter values for the user-defined command PAYROLL at the display station.
Error messages for DSPCMD
*ESCAPE Messages
- CPF2150
- Object information function failed.
- CPF2151
- Operation failed for &2 in &1 type *&3.
- CPF6210
- Command &1 in library &2 not found.
- CPF6250
- Cannot display or retrieve command &1 in library &2.
- CPF7D41
- Error occurred while logging order assistance request.
- CPF7D42
- Error occurred while performing database operation.
- CPF8103
- Command &4 in &9 damaged.
- CPF8122
- &8 damage on library &4.
- CPF8123
- Damage on object information for library &4.
- CPF9802
- Not authorized to object &2 in &3.
- CPF9803
- Cannot allocate object &2 in library &3.
- CPF9805
- Object &2 in library &3 destroyed.
- CPF9807
- One or more libraries in library list deleted.
- CPF9808
- Cannot allocate one or more libraries on library list.
- CPF9810
- Library &1 not found.
- CPF9820
- Not authorized to use library &1.
- CPF9824
- Not authorized to command &1 in library &2.
- CPF9871
- Error occurred while processing.