Display Class-of-Service Desc (DSPCOSD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Class-of-Service Description (DSPCOSD) command displays a class-of-service description.

Top

Parameters

Keyword Description Choices Notes
COSD Class-of-service description Name Required, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2
Top

Class-of-service description (COSD)

Specifies the name of the class-of-service description to be displayed.

This is a required parameter.

Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
*PRINT
The output is printed with the job's spooled output.
Top

Examples

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.

Top

Error messages

*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.
Top