Command reference / job

DSPJOBD

Display Job Description

The Display Job Description (DSPJOBD) command displays the contents of the specified job description. The QSYS2.JOB_DESCRIPTION_INFO view returns similar information.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

JOBD Job description

Specifies the name and library of the job description being displayed. This is a required parameter.

Type
*QUAL
Required
Yes
Case
Uppercase
name (Job description)
Specify the name of the job description being displayed.
*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 library is specified as the current library for the thread, the QGPL library is used.
name (Library)
Specify the library where the job description is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Job description Job 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

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 (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.

Examples

DSPJOBD JOBD(MYLIB/SPECIAL)

This command displays the job description named SPECIAL that is stored in the library MYLIB.

IBM command documentation

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