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.

What does JCL stand for?

  • Job Code Language
  • Job Command Language
  • Job Configuration Language
  • Job Control Language
JCL stands for "Job Control Language"

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