
- JCL Tutorial
- JCL Home
- JCL - Overview
- JCL - Environment
- JCL - JOB Statement
- JCL - EXEC Statement
- JCL - DD Statement
- JCL - Base Library
- JCL - Procedures
- JCL - Conditional Processing
- JCL - Defining Datasets
- JCL - Input/Output Methods
- JCL - Run COBOL Programs
- JCL - Utility Programs
- JCL - Basic Sort Tricks
- JCL Useful Resources
- JCL - Questions and Answers
- JCL - Quick Guide
- JCL - Useful Resources
- JCL - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 - Where & how do you code Identifier in JCL?
Answer : C
Explanation
Identifiers are two slashes (//) starting from column number 1. All JCL statements starts with identifiers except for two exceptions - For a delimiter statement, /* starting in col 1 and for a comment statement , //* starting at col 1.
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 - What will happen to Step2 if Step1 abend with some error?
//TXXXXXX JOB (XXXXX), ’XXXX’ //STEP1 EXEC PGM = PR1 //STEP2 EXEC PGM = PR2, COND = ONLY
Answer : B
Explanation
Step2 will be executed as step1 abended and we have coded ONLY parameter which means this step will execute only if the previous steps abend.
Q 5 - What is use of DISP parameter in DD statement?
A - Space required for the dataset
Answer : C
Explanation
The DISP parameter is used to describe the status of the dataset, disposition at the end of the job step on normal and abnormal completion. DISP is not required in a DD statement only when the dataset gets created and deleted in the same job step (like the temporary datasets). Syntax : DISP=(status, normal-disposition, abnormal-disposition)
Q 6 - Which utility is used to compare the contents of sequential data sets and partitioned datasets?
Answer : C
Explanation
IEBCOMPR is used to compare the contents of sequential data sets and partitioned datasets.
Q 7 - In-stream procedure is coded within the same JCL member, it is called an Instream Procedure. It should start with a PROC statement and end with a PEND statement. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 8 - PROC1 is a in-stream procedure in a JCL and with this name PROC1 one catalog procedure exists, then which procedure will be invoked - catalog or in-stream?
//TXXXXX JOB ,, NOTIFY = &SYSUID // JCLLIB ORDER = (XXXXX.PROCLIB) //STEP1 EXEC PROC1 //PROC1 PROC //STEP1 EXEC PGM = IEFBR14 //DD1 DD DSN = TXXXXX.TEST, SPACE = (TRK,(1,1)), // DCB=(RECFM = FB, BLKSIZE = 8000, LRECL = 80), // DISP=(NEW,DELETE) //PEND
Answer : B
Explanation
Catalog procedure will be invoked.
Answer : C
Explanation
We use & for symbolic parameters.
Answer : C
Explanation
?* is used to mark the end of in-stream data.