Display Job Description (DSPJOBD)

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

The Display Job Description (DSPJOBD) command displays the contents of the specified job description.

Restrictions:

  1. To use this command, you must have:
    • object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
Top

Parameters

Keyword Description Choices Notes
JOBD Job description Qualified object name Required, Positional 1
Qualifier 1: Job description Name
Qualifier 2: Library Name, *LIBL, *CURLIB
OUTPUT Output *, *PRINT Optional, Positional 2
Top

Job description (JOBD)

Specifies the name and library of the job description being displayed.

This is a required parameter.

Qualifier 1: Job description

name
Specify the name of the job description being displayed.

Qualifier 2: Library

*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
Specify the the library where the job description is located.
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 (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.
Top

Examples

DSPJOBD   JOBD(MYLIB/SPECIAL)

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

Top

Error messages

*ESCAPE Messages

CPF1618
Job description &1 in library &2 damaged.
CPF1623
Job description &1 not displayed.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9851
Overflow value for file &1 in &2 too small.
CPF9871
Error occurred while processing.
Top