When using the IF statement in JCL, you can specify both _______ and _______ conditions.

  • Logical
  • Multiple
  • Sequential
  • Single
The IF statement in JCL allows specifying both multiple and logical conditions

In JCL, what is the function of the PEND statement?

  • Marks the end of a dataset
  • Marks the end of a job
  • Marks the end of a job step
  • Marks the end of a procedure
The PEND statement marks the end of a job step

Which part of a JCL job does the PEND statement mark the end of?

  • Marks the end of a job
  • Marks the end of a job card
  • Marks the end of a job step
  • Marks the end of a procedure
The PEND statement marks the end of the entire JCL job (job stream)

What is the difference between SORT and MERGE operations in the JCL SORT utility?

  • MERGE is used for merging sorted files
  • MERGE is used for removing duplicates during sorting
  • SORT is used for arranging data in ascending order
  • SORT is used for sorting numerical data
SORT is for sorting, while MERGE is specifically for merging sorted files and not for sorting individual datasets

The REGION parameter specifies the _______ that is allocated for the job step.

  • Memory
  • Size
  • Space
  • Storage
The REGION parameter in JCL specifies the storage allocated

To keep a data set available for read-only access but prevent further updates, you can use DISP=_______.

  • MOD
  • NEW
  • OLD
  • SHR
DISP=SHR keeps a data set available for read-only access.

Can the LRECL attribute be larger than the actual record length of a dataset in JCL? Why or why not?

  • No, it causes data corruption.
  • No, it must match the actual record length.
  • Yes, for better performance.
  • Yes, to accommodate future expansion.
LRECL should match the actual record length to avoid data issues.

Can the ELSE statement be used without an IF statement in JCL? Explain.

  • No, it must always follow an IF
  • No, it's not a standalone statement
  • Yes, it defines an alternative path
  • Yes, it indicates the end of a job
The ELSE statement must always follow an IF statement in JCL

Can you specify multiple abend code conditions for a single job step in JCL?

  • No, JCL allows only one abend code condition per job step.
  • No, multiple abend code conditions can only be specified at the job level.
  • Yes, by using the ABEND statement with multiple codes.
  • Yes, using the COND parameter with multiple abend code conditions.
The COND parameter in JCL allows specifying multiple abend code conditions for a single job step, providing flexibility in handling different error scenarios.

Can you use multiple EXIT statements in a single JCL job? If so, how?

  • No, only one EXIT statement allowed
  • Yes, by nesting them within IF-THEN-ELSE conditions
  • Yes, by specifying different codes
  • Yes, by using PROCs and INCLUDE statements
Only one EXIT statement is allowed in a JCL job