z/OS (OS/390)
The following overview includes the attributes of z/OS 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.
z/OS Page
Type
MVS_JOBTYPE
Values:
-
UC4
JCL stored on the Pre-Process or Process page of the job -
JCL1
JCL from z/OS
-
JCL2
JCL including job card from z/OS
Access through: GET_ATT, predefined variable
Job Name
MVS_PROG_NAME
Value: User-defined
Length: Max. 20 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
z/OS File Name
JCL_SOURCE
Length: Max. 64 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Programmer's Name
MVS_PROG_NAME
Value: User-defined
Length: Max. 20 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Job Class
JOB_CLASS, JC
Value: User-defined
Length: Max. 1 character
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Account
MVS_ACCOUNT
Value: User-defined
Length: Max. 40 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), predefined variable
Priority
PRIORITY, P
Value: User-defined, any value between 0 and 15
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
MSGCLASS
MVS_MSGCLASS
Value: User-defined
Length: Max. 1 character
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
MSGLEVEL
MVS_MSG_LEVEL
Value: User-defined
Length: Max. 3 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Notify
MVS_NOTIFY
Value: User-defined
Length: Max. 16 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Job Parameters
MVS_JOB_PARAMS
Value: User-defined
Length: Max. 255 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Return Code
MVS_DETERMINE_RETCODE
Values: H (highest) / L (latest)
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program
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)
Generate on error only
JOBREPORT_ERROR_ONLY
Value: Y (Job Report log only saved if error occurs) / N (ob Report log always saved)
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)
Job Log Complexity
Stores non-JES output
MVS_COMPLETEJOBOUT
Value: Value taken from the INI file / Y / N
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program
Delete Job Log
MVS_JOBPURGE
Value: Value taken from the INI file / Y / N
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program
Print Release
MVS_RELMSGCLASS
Value: Value taken from the INI file / Y / N
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Obtain Message Classes
MVS_GETMSGCLASSES
Value:
- DEFAULT (value taken from the INI file)
- ALL (all message classes)
- A - Z, 0 - 9 (specify one or more message classes)
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Route Message Classes to
MVS_ROUTEMSGCLASS
Value:
- DEFAULT (value taken from the INI file)
- NO (no routing)
- A - Z, 0 - 9 (specify one or more message classes)
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
See also: