DSPCOSD (Display Class-of-Service Description) Command Description

DSPCOSD Command syntax diagram

Purpose

The Display Class-of-Service Description (DSPCOSD) command displays a class-of-service description. Output is directed to a display or a spooled printer file as indicated by the OUTPUT parameter and job type.

Required Parameter

COSD
Specifies the name of the class-of-service description.

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 DSPCOSD

DSPCOSD  COSD(COSD1)  OUTPUT(*PRINT)

This command prints the class-of-service description COSD1. The information is displayed on the work station from which the command was submitted (unless *PRINT was not specified, in which case the information is sent to a spooled printer file associated with the user's job). If the command is entered from a batch job, the output from the display is printed with the job's spooled output on a printer.

Error messages for DSPCOSD

*ESCAPE Messages

CPF2625
Not able to allocate object &1.
CPF2634
Not authorized to object &1.
CPF2670
Class-of-service description &1 not found.
CPF2671
Class-of-service description &1 previously deleted.
CPF2675
Class-of-service description &1 damaged.