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"
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.
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.