The EXIT statement in JCL allows you to specify a user-defined _______.

  • action
  • condition
  • parameter
  • program
The EXIT statement in JCL allows you to specify a user-defined action.

You have a JCL job with multiple steps, and you want to ensure that Step 2 executes only if Step 1 fails. How would you achieve this using the EXEC statement?

  • Add the COND parameter to Step 2 with a value of 'ONLY IF STEP1 RC > 0'.
  • Set the RETURN-CODE attribute in the EXEC statement of Step 1 to influence Step 2 execution.
  • Use the IF/THEN/ELSE construct in the JCL job to conditionally execute Step 2.
  • Utilize the DEPEND parameter in Step 2, specifying Step 1 as a dependency.
By adding the COND parameter to Step 2, you conditionally execute it based on Step 1's return code, achieving the desired behavior.

The JOB statement can include a _______ parameter to specify the accounting information for the job.

  • ACCOUNT
  • ACCOUNTING
  • ACCT
  • ACCT-INFO
The ACCOUNTING parameter is used to specify accounting information.

The _______ parameter in JCL is used to specify the name of the recipient for job completion notifications.

  • ACKNOWLEDGE
  • ALERT
  • NOTIFY
  • RECEIVER
The NOTIFY parameter is used to specify the name of the recipient for job completion notifications.

In JCL, the _______ statement is used to define the actions to be taken when the IF condition is met.

  • ACTION
  • DO
  • ELSE
  • THEN
The ELSE statement is used to define actions when the IF condition is not met

What are some common operations that can be performed using IDCAMS?

  • Add, Remove, Query, Compress
  • Define, Delete, Print, Repro
  • Load, Display, Alter, Export
  • Open, Close, Edit, Rename
IDCAMS supports operations like Define, Delete, Print, and Repro

In JCL, the ELSE keyword is used in conjunction with the IF statement to define the _______ to be executed when the condition is not met.

  • Additional
  • Alternate
  • Alternative
  • Default
The ELSE keyword in JCL is used to define the default action when the IF condition is not met

A job you submitted is running longer than expected and consuming excessive CPU time. How would you modify the JCL to limit the job's CPU time?

  • Adjust the REGION parameter in the JOB or EXEC statement
  • Apply the TIMEOUT parameter in the JOB statement
  • Set the TIME parameter in the JOB or EXEC statement
  • Use the CPUPRIORITY parameter
The TIME parameter is used to limit the total CPU time consumed by a job, helping to control and manage job execution time.

How can you ensure that a specific JCL step is executed only if a previous step fails?

  • Adding a RESTART parameter
  • Including a COND parameter with a return code condition
  • Specifying COND=ONLY for the step
  • Using the IF condition
The COND parameter with the value "ONLY" executes the step only if the previous step fails

To specify the dataset's physical storage location, you can use the _______ parameter in the DSN statement.

  • ADDRESS
  • LOCATION
  • PHYSICAL
  • STORAGE
The LOCATION parameter in the DSN statement specifies the physical storage location.