The information returned is the same information returned by the Display Job
Description (DSPJOBD) command.
Authorities and Locks
Job Description Object Authority *USE
Library Authority *USE
Required Parameter Group
Receiver variable
OUTPUT; CHAR(*)
The variable that is to receive the information requested. You can specify the
size of this area to be smaller than the format requested if you specify the
length of receiver variable parameter correctly. As a result, the API returns
only the data that the area can hold.
Length of receiver variable
INPUT; BINARY(4)
The length of the receiver variable. If this value is larger than the actual size of
the receiver variable, the result may not be predictable. The minimum length is
8 bytes.
Format name
INPUT; CHAR(8)
The format of the job description information to be returned. You can use this
format:
JOBD0100 Basic job description information. For details, see “JOBD0100
Format.”
Qualified job description name
INPUT; CHAR(20)
The name of the job description whose contents are to be retrieved. The first
10 characters contain the name of the job description, and the second 10 char-
acters contain the name of the library where the job description is located. You
can use these special values for the library name:
*CURLIB The job's current library
*LIBL The library list
Error code
I/O; CHAR(*)
The structure in which to return error information. For the format of the struc-
ture, see "Error Code Parameter" in Chapter 2 of the
System API Reference
.
JOBD0100 Format
The following table describes the information that is returned in the receiver vari-
able for the JOBD0100 format. For detailed descriptions of the fields, see “Field
Descriptions” on page 3-32.
Offset
Type FieldDec Hex
0 0 BINARY(4) Bytes returned
4 4 BINARY(4) Bytes available
3-30 System API Programming V4R1