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

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 you don't specify a priority for a JCL job?

  • The job gets the default priority assigned by the system
  • The job goes into a waiting state
  • The job is terminated immediately
  • The job runs with the highest priority
If no priority is specified, the system assigns a default priority

In JCL, what happens when an EXIT statement is encountered during job execution?

  • The job continues execution
  • The job goes into a loop
  • The job terminates abnormally
  • The job waits for user input
When an EXIT statement is encountered, the job terminates abnormally

What is the purpose of a JOB statement in JCL Syntax?

  • To allocate resources for the job
  • To define the overall job
  • To provide documentation for the job
  • To specify the program to execute
The JOB statement is used to define the overall job in JCL syntax

What is the purpose of a JOB statement in JCL?

  • To allocate resources for the job
  • To define a new job
  • To execute a program
  • To specify the job name
The JOB statement is used to define a new job and specify its details

What is the purpose of data set allocation in JCL?

  • To allocate resources for the dataset
  • To define a new dataset
  • To reserve space for the dataset
  • To specify the dataset name
Data set allocation in JCL is for allocating resources to a dataset

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.

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 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

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 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