Command reference / job

WRKSBSD

Work with Subsystem Descriptions

The Work with Subsystem Descriptions (WRKSBSD) command shows a list of subsystem descriptions and allows you to change, delete, display, start, and end specified subsystem descriptions. You can also work with subsystem jobs for a specified job description.

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC. Positional parameters: 2.

Restrictions

Parameters

SBSD Subsystem description

Specifies the name and library of the subsystem descriptions that are listed on the Work with Subsystem Descriptions display. This is a required parameter. The first qualifier is the subsystem description name or generic name; the second qualifier is the library.

Type
*QUAL
Required
No
Case
Uppercase
*ALL
All subsystem descriptions are listed.
*LIBL
All libraries in the library list for the current thread are searched.
*CURLIB
The current library for the thread is searched. If no current library is set, QGPL is searched.
*USRLIBL
The current library and the libraries in the user portion of the library list are searched.
*ALLUSR
All user libraries (names not beginning with Q, plus selected IBM-supplied Qxxx libraries) are searched.
*ALL (lib)
All libraries in the system, including QSYS, are searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Subsystem description Subsystem description

Type
*GENERIC
Required
No
Default
*ALL
Length
10
Case
Uppercase

Suggested / special values: *ALL

Library Library

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

Suggested / special values: *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR

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

*
Displayed for interactive jobs; printed with the job's spooled output for non-interactive jobs.
*PRINT
Printed with the job's spooled output.

Examples

WRKSBSD SBSD(LIB6/ORDER*)

This command displays the Work with Subsystem Descriptions panel, showing a list of all subsystem descriptions in library LIB6 whose names start with the letters 'ORDER'. From this panel, you can select options to work with any of the listed subsystem descriptions.

IBM command documentation

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