Command reference / job

DSPCLS

Display Class

The Display Class (DSPCLS) command displays the attributes of a class. The class name is required; output can be shown at the display station or printed with the job's spooled output.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

CLS Class

Specifies the name and library of the class whose attributes are to be displayed. This is a required parameter. The first qualifier is the class name; the second qualifier is the library.

Type
*QUAL
Required
Yes
Case
Uppercase
*LIBL
All libraries in the thread's library list are searched until a match is found.
*CURLIB
The current library for the thread is used to locate the object. If no current library is set, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Class Class

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

OUTPUT Output

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

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

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

Examples

DSPCLS CLS(CLASS1) OUTPUT(*PRINT)

This command directs the attributes of class CLASS1 to the job's output spooling queue to be printed.

IBM command documentation

Generated from os/cl/catalog/DSPCLS.json and os/cl/help/DSPCLS.json.