OS/400

The following overview includes the attributes of OS/400 Job objects 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 Page

Start Parameter: Script Type

OS400_JOBTYPE

Values:

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

Runtime Options: Job Name

JOB_NAME, JN

Value: User-defined

Length: Max. 10 characters

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

Runtime Options: Job Description

OS400_JOBD

Value: User-defined

Length: Max. 21 characters

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

Runtime Options: Job Queue

OS400_JOBQ

Value: User-defined

Length: Max. 21 characters

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

Runtime Options: Routing Data

OS400_RTGDTA

Value: User-defined

Length: Max. 255 characters

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

Runtime Options: Priority

PRIORITY, P

Value: User-defined, any value between 0 and 99

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

Job Report: Database

JOBREPORT_DB

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Job Report: File

JOBREPORT_FILE

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Job Report: Generate on error only

JOBREPORT_ERROR_ONLY

Value: Y (Job reports only saved if error occurs) / N (Job report always saved)

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Job Report: Store from Spool

OS400_JOBLOG

Values:

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

See also: