JCL (Job Control Language) Quiz
Test your knowledge of JCL parameters, DD statements, and IBM mainframe utilities including IEBCOPY, IEBCOMPR, IEBGENER, IEHPROGM, and IEHLIST.
Questions
A DD statement has 2 types of parameters. Name them?
- Positional, Keyword
- Keyword, Control
- Dynamic, Static
- Named, Dynamic
- None of the above
Which of these units are used to allocate space?
- Cylinders
- Tracks
- Blocks
- All of the above
- None of the above
Which of the following is used to copy partitioned datasets?
- IEFBR14
- IEBCOPY
- IEBGENER
- IEBCOMPR
- None of the above
Inorder to not execute a step in the job after a return code of 8 in step1, what the step2 EXEC statement include?
- COND = (8,NE)
- COND = (8,GE)
- COND = (8,EQ)
- A & b
- B & c
What is used to pass data from the JCL to COBOL programs?
- PROC
- PARM
- SYSIN
- Instream data
How can unused space allocation be returned to the system when a dataset is closed?
- RLSE
- RETURN
- CONTIG
- CLOSE
Which of the following is used to compare sequential files/PDS?
- IEFBR14
- IEBCOPY
- IEBGENER
- IEBCOMPR
- None of the above
What is the purpose of DD DUMMY statement?
- Marks a deleted DD statement
- Begins an interpreted command stream
- Specifies no space allocation & no disposition processing
- Suppress command processing
- None of the above
What is the maximum number of In-stream procedures you can code in any job?
- 10
- 12
- 15
- 20
- 25
Which of the following is true. when both STEPLIB and JOBLIB statements are coded in a program?
- JOBLIB statement should precede the EXEC statement.
- STEPLIB is coded after the EXEC statement
- STEPLIB will override the JOBLIB specification
- All of the above
What parameter of the job statement is used to limit the CPU time consumed by the job?
- RUNTIME
- TIME
- LIMIT
- EXECMAX
When output dataset space is required, what quantity categories are used?
- Primary, Secondary, Directory
- Address, Units, CONTIG or ALS
- Displacement and length
- Megabytes, Kilobytes and Bytes
- None of the above
To assign all the available storage for a job or job step, the REGION parameter should be coded as
- 0K
- 0M
- None of the above
- a & b
Which are the two system utilities that allow you to maintain and manage catalogs ?
- IEBGENER , IEBCOPY
- IEBCOPY,IEBCOMPR
- IEHPROGM,IEBGENER
- IEHLIST,IEHPROGM
- IEHPROGM,IEBCOPY
What parameter directs the output of the job log dataset?
- JOBLOG
- MSGCLASS
- MSGLEVEL
- SYSLOG
How can a job’s execution priority be modified ?
- PRIQTY parameter
- PRTY parameter
- JOBCLASS parameter
- RUNTIME parameter
How can the attributes of one SMS dataset be copied to another dataset ?
- Using DD like parameter
- Using DD Copy parameter
- Using DD Refer parameter
- Attrubutes cannot be copied within SMS datasets
Which is not a valid parameter for TYPRUN?
- SCAN
- RUN
- COPY
- None
- HOLD
Which is not a valid value for RD parameter?
- R
- RNC
- NR
- RC
- None
Which is not a valid keyword parameter for EXEC?
- PARM
- PERFORM
- TIME
- ADDRSPC
- None