JCL Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to JCL Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - What does JCL stands for?
Answer : C
Explanation
JCL stands for Job Control Language which provides the specifications necessary to process a job.
Q 2 - How do you code a Null statement?
Answer : C
Explanation
JCL is terminated by a null statement which is optional. For a null statement code only // starting from column 1. All the lines after this will not be executed.
Q 3 - What is the purpose of coding NOTIFY parameter in job statement?
A - Assign a job-class to a Job which decides the nature of job
B - To specify the output destination for the system and Job messages when the job is complete
Answer : D
Explanation
The system sends the success or failure message (Maximum Condition Code) to the user specified in this parameter. Syntax : NOTIFY="userid | &SYSUID"
Q 4 - A JOBLIB statement is used in order to identify the location of the program to be executed in a JCL. The JOBLIB statement is specified after the JOB statement and before the EXEC statement. This can be used only for the in stream procedures and programs. State whether true or false?
Answer : A
Explanation
This statement is correct.
Q 5 - What is use of SPACE parameter in DD statement?
A - Space required for the dataset
Answer : A
Explanation
The SPACE parameter specifies the space required for the dataset in the DASD (Direct Access Storage Disk). Syntax : SPACE=(spcunits, (pri, sec, dir), RLSE)
Q 6 - Which utility is used to copy or print sequential data sets?
Answer : A
Explanation
IEBGENER is used to copy or print sequential datasets.
Q 7 - A job is a unit of work which can be made up of many job steps. Each job step is specified in a Job Control Language (JCL) through a set of Job Control Statements. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 8 - What will be the output of following JCL which is calling a catalog procedure?
//TXXXXXJ JOB ,, NOTIFY = &SYSUID, CLASS = A, MSGCLASS = X // JCLLIB ORDER=XXXXX.PROC.LIBRARY //DATA1 EXEC PROC = PROC1, TIME = 3
Answer : B
Explanation
We are overriding the TIME parameter inside PROC1.
Q 9 - Which parameters we use in a JOB statement?
Answer : D
Explanation
We use positional and keyword parameters in a job statement.
Q 10 - Calling a procedure from within a procedure is called a nested procedure. Procedures can be nested up to 15 levels. State whether true or false?
Answer : B
Explanation
This is self explanatory.