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

How can you specify the logical record length (LRECL) of a dataset in the DD statement?

  • LENGTH= parameter
  • LOGICAL= parameter
  • LRECL= parameter
  • RECLEN= parameter
The LRECL parameter is used to specify the logical record length of a dataset

The _______ parameter in JCL specifies the maximum time a job step can run.

  • LIMIT
  • MAXTIME
  • RUNTIME
  • TIME
The TIME parameter specifies the maximum time a job step can run.

The use of user-defined abend codes provides _______ flexibility in job control.

  • Limited
  • More
  • No
  • Similar
The use of user-defined abend codes provides more flexibility in job control.

In JCL, what does LRECL represent for a dataset, and how is it defined?

  • Logical Record Length, file attributes
  • Logical Record Length, file ownership
  • Logical Record Length, job parameters
  • Logical Record Length, specifies length
LRECL stands for "Logical Record Length," defining the length of each record in the dataset.

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.

In JCL, can you use the SET statement to modify system-defined variables?

  • No
  • Only in batch processing
  • Only in specific conditions
  • Yes
The SET statement in JCL is primarily used for user-defined variables, not system-defined variables

How can you allocate a dataset with DISP=(MOD,CATLG) in the DD statement?

  • MOD,CATLG
  • NEW,CATLG
  • OLD,CATLG
  • SHR,CATLG
To allocate a dataset with DISP=(MOD,CATLG), specify MOD,CATLG in the DISP parameter of the DD statement