Understanding the JOB Statement
Understanding the JOB Statement
The JOB Statement is always the first line in a JCL script. It provides high-level details about the job, such as its name, priority, and notification.
Syntax
//JOBNAME JOB (accounting-info),CLASS=x,MSGCLASS=x,NOTIFY=&SYSUID
Parameters Explained
JOBNAME: The unique name of the job.
Example: PAYROLL1.
Accounting Info: Used for tracking resource usage.
Example: (12345,67890).
CLASS=x: Determines the priority and resource allocation.
Example: CLASS=A.
MSGCLASS=x: Specifies where system logs are sent.
Example: MSGCLASS=X.
NOTIFY=&SYSUID: Sends a message to the job submitter upon completion.
Last updated