When using IF-THEN-ELSE conditional processing in JCL, what happens if the IF condition evaluates to true?

  • The job step following the ELSE is executed
  • The job step following the ENDIF is executed
  • The job step following the IF is executed
  • The job step following the THEN is executed
If the IF condition evaluates to true, the job step following the IF is executed

What happens if the COND parameter is set to 'ONLY' in a JCL step, and the preceding step abends?

  • The job will terminate if the preceding step abends
  • The step will always execute regardless of the preceding step
  • The step will execute only if the preceding step abends
  • The step will execute only if the preceding step completes successfully
COND='ONLY' makes the step execute only if the preceding step completes successfully

Explain the relationship between the PEND statement and conditional processing in JCL.

  • The PEND statement is used for parallel processing in JCL.
  • The PEND statement is used to define job dependencies in JCL.
  • The PEND statement is used to specify the end of a JCL job.
  • The PEND statement is used to terminate conditional blocks in JCL.
The PEND statement marks the end of a conditional block in JCL, influencing job flow based on conditions.

Job scheduling options in JCL allow you to specify the _______ for executing a job.

  • Time
  • Resources
  • Priority
  • Dependencies
Job scheduling options in JCL allow you to specify the resources required for executing a job.

What is the purpose of the DCB parameter in the DD statement?

  • To allocate additional space for the dataset
  • To define the dataset control block (DCB)
  • To indicate the data compression method
  • To specify the device type for the dataset
The DCB parameter is used to define the dataset control block in JCL

What is the significance of the DISP parameter in the DD statement?

  • To allocate additional space for the dataset
  • To define the dataset name
  • To indicate the disposition of the dataset
  • To specify the dataset organization
The DISP parameter is used to indicate the disposition of the dataset in JCL

What is the primary purpose of the DD statement in a JCL job?

  • To allocate dataset space
  • To define job execution parameters
  • To execute a program
  • To specify the job name
The primary purpose of the DD statement is to allocate dataset space

What is the purpose of the IF statement in JCL?

  • To allocate output files
  • To conditionally execute steps
  • To define a job step
  • To specify the input files
The IF statement is used to conditionally execute JCL job steps

In JCL, what are job classes used for?

  • To allocate resources efficiently
  • To categorize jobs based on their functions
  • To define the order of job execution
  • To specify the priority of a job
Job classes in JCL are used to specify the priority of a job, helping in efficient resource allocation.

What is the purpose of the priority parameter in JCL job scheduling?

  • To allocate resources efficiently
  • To define the job class
  • To set the priority of a job
  • To specify the time of job execution
The priority parameter in JCL is used to set the priority of a job in the job scheduler.