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 - In Job processing, what happens in Conversion stage?
A - Selection of Initiator for execution of Job
Answer : B
Explanation
The JCL along with the PROC is converted into an interpreted text to be understood by JES and stored into a dataset, which we call as SPOOL.
Q 2 - What operation is performed by DD statement?
Answer : C
Explanation
DD statement is used to include name of the dataset to operate.
Q 3 - What is the purpose of coding PRTY parameter in job statement?
A - Specifies the address space required to run a job step within the job
B - Specifies the time span to be used by the processor to execute the job
Answer : C
Explanation
To specify the priority of the job within a job class. If this parameter is not specified, then the job is added to the end of the queue in the specified CLASS. Syntax : PRTY=N
Q 4 - A STEPLIB statement is used in order to identify the location of the program to be executed within a Job Step. The STEPLIB statement is specified after the EXEC statement and before the DD statement of the job step. State whether true or false?
Answer : A
Explanation
This statement is correct.
Q 5 - RESTART parameter is coded in the JOB or EXEC statement and it helps in manual restart of the JOB/STEP after the job failure. State whether true or false?
Answer : A
Explanation
This statement is correct.
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 - Which utility is used to run a COBOL-DB2 program?
Answer : B
Explanation
IKJEFT01 utility is used to run a COBOL-DB2 program.