Command reference / job

DSPSBSD

Display Subsystem Description

Shows the information held in a subsystem description, presented on separate displays: operational attributes, pool definitions, autostart job entries, workstation entries, job queue entries, routing entries, communications entries, remote location entries, and prestart job entries. When run from a batch job, all of it is printed with the job's spooled output. Several QSYS2 views, such as SUBSYSTEM_INFO and ROUTING_ENTRY_INFO, return similar information.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

SBSD Subsystem description

Names the subsystem description to display and the library that holds it. This parameter is required.

Type
*QUAL
Required
Yes
Case
Uppercase
*LIBL
Searches every library in the thread's library list until a match is found.
*CURLIB
Uses the thread's current library to locate the subsystem description, or QGPL if no current library is set.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Subsystem description Subsystem description

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

Sets whether the output is shown 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

*
Displayed if an interactive job requests it, or printed with the spooled output if a batch job requests it.
*PRINT
Printed with the job's spooled output.

Examples

DSPSBSD SBSD(LIB6/ORDER) OUTPUT(*)

From a batch job, sends the full set of information for subsystem ORDER in LIB6, including attributes, job entries and routing entries, to the spooling queue. From an interactive job, shows the subsystem description menu to choose an option from.

IBM command documentation

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