When is the SET statement processed during the JCL execution flow?

  • After the execution of EXEC statement
  • After the execution of JOB statement
  • At the beginning of the execution
  • At the end of the execution
The SET statement is processed at the beginning of the execution

The job dependency parameter used to specify a job that must complete successfully before the current job starts is _______.

  • AFTER_JOB
  • DEPENDENCY_JOB
  • PREDECESSOR_JOB
  • PREVIOUS_JOB
The correct parameter is PREDECESSOR_JOB, indicating a job that must complete successfully before the current job starts.

To receive notifications about the status of a job, you can use the _______ parameter in the JOB statement.

  • ALERT
  • MONITOR
  • NOTIFY
  • STATUS
The NOTIFY parameter in the JOB statement is used to receive job status notifications

In JCL, what information is typically included in the JOB statement?

  • All of the above
  • Job Description
  • Job ID
  • Job Name
The JOB statement typically includes the Job Name to identify the job

In JCL, the TYPRUN parameter can have values like _______ and _______.

  • ALL
  • BATCH
  • EXEC
  • SUB
The TYPRUN parameter in JCL can have values like SUB and BATCH

When defining a dataset in JCL, which statement is used to allocate it for use by a program?

  • ALLOC
  • DD
  • DSN
  • FILE
The DD statement is used to define and allocate datasets in JCL

Which JCL statement is used to specify the DSN for a dataset in a job step?

  • ALLOC
  • DD
  • DSN
  • FILE
The DD statement is used to specify the DSN for a dataset in a job step

To specify the disposition of a dataset, the _______ parameter can be used in the DD statement.

  • ALLOC
  • DEFINE
  • DISP
  • DSPOSITION
The DISP parameter in the DD statement is used to specify the disposition of a dataset.

The _______ parameter in the DSN statement allows you to specify the number of primary and secondary allocation units for a dataset.

  • ALLOC
  • SPACE
  • TRACKS
  • UNIT
The SPACE parameter in the DSN statement allows specifying the allocation units for a dataset.

Explain the significance of DISP=NEW in a JCL DD statement, and in what scenarios would you use it?

  • Allocate a new dataset with the specified name
  • Release a dataset without deleting it
  • Reuse an existing dataset with the specified name
  • Specify a cataloged dataset
DISP=NEW is used to allocate a new dataset with the specified name, creating it if it does not exist.