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

  1. JOBNAME: The unique name of the job.

    • Example: PAYROLL1.

  2. Accounting Info: Used for tracking resource usage.

    • Example: (12345,67890).

  3. CLASS=x: Determines the priority and resource allocation.

    • Example: CLASS=A.

  4. MSGCLASS=x: Specifies where system logs are sent.

    • Example: MSGCLASS=X.

  5. NOTIFY=&SYSUID: Sends a message to the job submitter upon completion.

Last updated