In JCL, the _______ statement is used to execute utility programs and batch processes.

  • EXEC
  • JOB
  • RUN
  • UTIL
The EXEC statement is used to execute utility programs and batch processes.

Which part of a JCL statement is used to specify the name of the program or procedure to be executed?

  • EXEC
  • NAME
  • PGM
  • PROC
The PGM parameter is used to specify the program or procedure to execute

In a JCL job, you have a requirement to execute a cleanup step if any of the preceding steps fail. How can you achieve this using the IF statement?

  • Execute the cleanup step in a separate job that is triggered by the scheduler based on the completion status of the main job.
  • Include an IF statement before each step with the condition (RC > 0), and if true, execute the cleanup step using another IF statement.
  • Use an IF statement with the condition (COND.ALL = 0) before the cleanup step.
  • Utilize the COND parameter on the EXEC statement for each step and set the condition for the cleanup step to (STEP1.RC GT 0).
To execute a cleanup step if any preceding steps fail, include an IF statement before each step, checking the return code (RC), and execute the cleanup step if the condition is true.

If the condition specified in the COND parameter is met, the step is _______; otherwise, it is _______.

  • Executed
  • Ignored
  • Repeated
  • Skipped
If the condition is met, the step is executed; otherwise, it is ignored

In JCL, the COND parameter is used to specify a condition under which a job step will be _______.

  • Executed
  • Ignored
  • Repeated
  • Skipped
The COND parameter specifies the condition for executing a job step

What is the significance of the IEFBR14 program in JCL execution?

  • Executes a dummy operation
  • Initializes data
  • Manages file allocations
  • Terminates the JCL job
IEFBR14 is a dummy program often used for its minimal execution to fulfill certain requirements

When specifying multiple job steps in a JOB statement, each step is identified by a unique _______.

  • Execution Code
  • Job ID
  • Job Step Number
  • Step Name
Each step is identified by a unique step name in a JOB statement.

How can you override the default execution time for a specific job step in JCL?

  • EXECUTION-TIME
  • OVERRIDE-TIME
  • STEP-TIME
  • TIME
The TIME parameter is used to override the default execution time for a specific job step in JCL

How does the EXIT statement differ from the PEND statement in JCL?

  • EXIT and PEND are interchangeable
  • EXIT and PEND have the same purpose
  • EXIT ends the job; PEND ends the step
  • EXIT statement is used to end a job step; PEND is used to end the entire job
The EXIT statement terminates a job step, while PEND terminates the entire job. They serve different scopes in JCL.

What is the difference between the EXIT statement and the IF statement in JCL?

  • EXIT statement and IF statement serve the same purpose in JCL
  • EXIT statement is used to conditionally terminate a job step, whereas IF statement is used for unconditional branching in JCL
  • EXIT statement specifies a condition to end a job step or job, while IF statement is used for conditional execution within a JCL
  • IF statement is used to end a job, while EXIT statement is for conditional branching
The EXIT statement is used for conditional termination, whereas IF statement is for conditional execution in JCL