Where allowed to run:
|
Parameters Examples Error messages |
The COZTOOLS - Retrieve JOBD Attributes (RTVJOBDA) command may be used to retrieve information associated with an existing JOBD (job description) object. Several attributes as well as the Library List associated with the JOBD may be retrieved.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
JOBD | Job Description | Qualified object name | Required, Positional 1 |
Qualifier 1: Job Description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
RTNJOBDLIB | Job Description Library (10) | Character value | Optional, Positional 2 |
JOBQ | Job Queue Name (10) | Character value | Optional |
JOBQLIB | Job Queue Library (10) | Character value | Optional |
OUTQ | Output Queue Name (10) | Character value | Optional |
OUTQLIB | Output Queue Library (10) | Character value | Optional |
USER | User Profile (10) | Character value | Optional |
PRTDEV | Printer Device (10) | Character value | Optional |
LOGCLPGM | Log CL Program commands (10) | Character value | Optional |
LOGOUTPUT | Job log output (10) | Character value | Optional |
INQMSGRPY | Inquiry Message Reply (10) | Character value | Optional |
TEXT | Text description (50) | Character value | Optional |
LIBL | Initial Library list (2750) | Character value | Optional |
Top |
Specifies Job Description whose attributes are retrieved.
This is a required parameter.
Qualifier 1: Job Description
Qualifier 2: Library
Top |
A CL variable that recieves the library name for the Job Description object whose attributes are being retrieved. Use this parameter when specifying *LIBL or *CURLIB on the command to determine the library where the *JOBD object is located.
Top |
Specify a CL variable to receive the name of the JOBQ associated with the Job Description object.
Top |
Specify a CL variable to receive the library name of the JOBQ associated with the Job Description object.
Top |
Specify a CL variable to receive the name of the OUTQ associated with the Job Description object.
Top |
Specify a CL variable to receive the library name of the OUTQ associated with the Job Description object.
Top |
Specify a CL variable to receive the User Profile associated with the Job Description object.
Valid return values are any user profile ID or *RQS
Top |
Specify a CL variable to receive the Print Device associated with the Job Description object.
Valid return values are any printer device name or *USRPRF or *SYSVAL or *WRKSTN
Top |
Specify a CL variable to receive the LOGCLPGM attribute associated with the Job Description object.
Valid return values are *YES or *NO
Top |
Specify a CL variable to receive the Job Log Output attribute associated with the Job Description object.
Valid return values are: *SYSVAL *JOBLOGSVR *JOBEND *PND
Top |
Specify a CL variable to receive the Inquiry Message Default Reply associated with the Job Description object.
Valid return values are: *RQD *DFT *SYSRPYL
Top |
Specify a CL variable to receive the Text Description associated with the Job Description object.
Top |
Specify a CL variable to receive the Library List associated with the Job Description object.
Each library is returned as an 11-position entry. Therefore multiply the number of expected returned library names by 11 to calculate the length of your CL return variable. For example, to retrieve up to 6 library of the Job Description's library list, use TYPE(*CHAR) LEN(66) If you only want the first library, you may specify a minimum length of 10 positions for this parameter. For the legacy 25-library maximum, specify LEN(275) to insure enough room to receive all 25 library names. If using the current 250 library list name limitation, specify a length of LEN(2750) for your CL variable.
Top |
Example 1: Simple Command Example
RTVJOBDA KWD1(PARMVAL1)
This command <...>
Example 2: More Complex Command Example
RTVJOBDA KWD1(PARMVAL1) KWD2(PARMVAL2) KWD3(PARMVAL3)
This command <...>
Top |
*ESCAPE Messages
Top |