The PEND statement is used to mark the end of a _______.

  • Job
  • Phase
  • Procedure
  • Step
The PEND statement is used to mark the end of a JCL job step.

The EXEC statement in JCL specifies the _______ to be executed in a job step.

  • Job
  • Procedure
  • Program
  • Script
The EXEC statement in JCL specifies the program to be executed in a step.

The JOB statement in JCL is used to define and initiate a _______.

  • Job
  • Process
  • Program
  • Task
The JOB statement is used to define and initiate a Job in JCL.

Which JCL statement is used to express a condition for job dependency?

  • JOBCON
  • JOBCOND
  • JOBIF
  • JOBPARM
The JOBCOND statement is used to express a condition for job dependency

How can you set up a job dependency in JCL to execute the current job only if a particular job finishes with a specific return code?

  • JOBDEPEND
  • JOBRC
  • JOBRESTART
  • JOBRUN
The JOBRC parameter is used to set up a job dependency based on the return code of another job

To specify a job as a triggered job, the _______ parameter is used in JCL.

  • JOBTRIG
  • ONTRIGGER
  • TRIG
  • TRIGGER
The TRIG parameter is used to specify a triggered job

You need to merge two sorted datasets into a single sorted dataset using JCL. Which utility would you use, and how would you accomplish this task?

  • JOIN utility
  • MERGE utility
  • SORT utility
  • SYNCSORT utility
To merge two sorted datasets in JCL, the SORT utility is commonly used. It efficiently combines datasets while maintaining the sorting order.

What are some best practices for managing cataloged data sets in a mainframe environment?

  • Keep catalog entries separate from datasets.
  • Never delete catalog entries, even if datasets are no longer needed.
  • Regularly review and clean up unused catalog entries.
  • Share catalog entries for all datasets in the system.
Best practices include periodic review and cleanup of catalog entries.

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.