User Guide > Objects > Alphabetical Listing > OS/400

 OS/400

The following overview includes the attributes of an OS/400 Job object and describes their functions, allowed values and ways of modification.

Predefined variables may be used in scripts, and script variables may be set to attributes retrieved via predefined variables.

OS/400 Tab

Field

Attribute

Value

Access Via:

Job report - Database

JOBREPORT_DB

"Y" - Yes, "N" - No

GET_ATT,
:PUT_ATT (Pre-Process, Process)

Job report - File

JOBREPORT_FILE

"Y" - Yes, "N" - No

GET_ATT,
:PUT_ATT (Pre-Process, Process)

Job report - Generate on error only

JOBREPORT_ERROR_ONLY

"Y" - Job reports only saved if error occurs
"N" - Job report always saved

GET_ATT,
:PUT_ATT (Pre-Process, Process)

Job report - Spool

OS400_JOBLOG

"QPJOBLOG" = Only spool contents from QPJOBLOG are saved.
"*ALL" = Entire spool contents of the job are saved.

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

Type

OS400_JOBTYPE

"CMD" = Job with OS/400 commands.
"CL" = Job with ILE CL script.
"REXX" = Job with REXX script.

GET_ATT,
:PUT_ATT (Pre-Process, Process),
predefined variable

Runtime options - Job name

JOB_NAME, JN

User-defined,
maximum 10 characters

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

Runtime options - Priority

PRIORITY, P

User-defined,
Value between "0" and "99"

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

Runtime options - Job description

OS400_JOBD

User-defined,
maximum 21 characters

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

Runtime options - Job queue

OS400_JOBQ

User-defined,
maximum 21 characters

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

Runtime options - Rooting data

OS400_RTGDTA

User-defined,
maximum 255 characters

GET_ATT,
:PUT_ATT (Pre-Process, Process),
Change Program,
predefined variable

 

See also:

Job
Host Attributes Tab

Attributes

:PUT_ATT statement

GET_ATT function

AE DB Change