
- 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 - What is JCL?
A - JCL is a set of control statements which provides the specifications necessary to process a job.
B - JCL is a interface between programs & MVS operating system.
Answer : D
Explanation
All the statements regarding JCL are correct.
Q 2 - What operation is performed by EXEC statement?
Answer : B
Explanation
Specifies the PROC/Program to be executed. In the above example, a SORT program is being executed (i.e., sorting the input data in a particular order).
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 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 DSN parameter in DD statement?
A - Space required for the dataset
Answer : D
Explanation
The DSN parameter refers to the physical dataset name of a newly created or existing dataset. The DSN value can be made up of sub-names each of 1 to 8 characters length, separated by periods and of total length of 44 characters (alphanumeric).
Q 6 - How you will the direct the data to spool using SYSOUT option?
Answer : D
Explanation
Code SYSOUT=*, then the data will be directed to spool.
Q 7 - FORCE option in GDG's deletes the GDG versions and the GDG base. If any of the GDG versions are set with an expiration date which is yet to expire, then those are not deleted and hence the GDG base is retained. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 8 - What is the output of following JCL?
//STEP1 EXEC PGM = SORT //SYSOUT DD SYSOUT = * //SORTIN DD DSN = input.file.name //SORTOUT DD DSN = output.file.name //SYSIN DD * SORT FIELDS = COPY SUM FIELDS = NONE /*
A - It will copy the data from input file to output file and will eliminate the duplicates
B - It will copy the data from input file to output file and will not eliminate the duplicates
Answer : A
Explanation
SUM FIELDS=NONE is used to eliminate the duplicate rows.
Q 9 - If we want to use a GDG which is already created by some job, then how to use the reference of the last generation in a JCL?
Answer : C
Explanation
To refer the last generation of a GDG, we use the reference as (+0).
Q 10 - Which statement is used to end the in-stream procedure in a JCL?
Answer : C
Explanation
PEND statement is used to end the in-stream procedure.