To define an EXIT statement in JCL, you typically provide a program or script that will be executed as an _______.
- Event Handler
- Exit Routine
- External Module
- Interrupt Handler
An EXIT statement in JCL typically provides an External Module to be executed
The JCL _______ parameter is used to control the flow of job step execution.
- EXEC
- IF
- JOB
- STEP
The JCL IF parameter is used to control the flow of job step execution.
When defining a job step in JCL, which statement is used to specify the program or procedure to be executed?
- EXEC
- JOB
- PGM
- STEP
The PGM statement is used to specify the program or procedure to be executed in a job step
Which JCL component defines the program or utility to be executed in a job step?
- EXEC
- JOB
- PROC
- STEP
The EXEC statement defines the program or utility to be executed
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.
Which JCL statement is used to specify the execution priority of a job in a job queue?
- EXECUTE
- JOBPRIO
- PRIORITY
- QUEUE
The PRIORITY statement is used to specify the execution priority of a job in a job queue
The EXIT statement in JCL is used to _______ a step if certain conditions are met.
- Execute
- Repeat
- Skip
- Terminate
The EXIT statement in JCL is used to terminate a step if certain conditions are met.
To override the default priority for a specific job step, you can use the _______ parameter.
- EXECUTE-PRIORITY
- OVERRIDE
- PRIORITY
- STEP-PRIORITY
The PRIORITY parameter is used to override the default priority in JCL.
Cataloged data sets can be accessed by multiple JCL jobs, while _______ data sets are usually job-specific.
- Exclusive
- Permanent
- Shared
- Temporary
Cataloged datasets can be accessed by multiple jobs
During JCL execution, the _______ statement is used to specify the program to be executed.
- EXEC
- JOB
- RUN
- STEP
During JCL execution, the EXEC statement is used to specify the program to be executed.