- 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
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 Input stage?
A - Selection of Initiator for execution of Job
Answer : C
Explanation
In input stage, Job is taken as an input to JES.
Q 2 - What is the purpose of coding MSGCLASS 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 : B
Explanation
To specify the output destination for the system and Job messages when the job is complete. Syntax : MSGCLASS = CLASS
Q 3 - Which of the parameters can be coded on both JOB and EXEC?
Answer : D
Explanation
All these parameters can be coded on JOB as well as EXEC. Some other examples are REGION & ADDRSPC
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 - Which parameter is used to pass information from JCL to a COBOL program?
Answer : D
Explanation
PARM is used to pass the values from JCL to COBOL program.
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 - 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 - In-stream procedure is coded as a separate member of a PDS. State whether true or false?
Answer : B
Explanation
In-stream procedure is coded inside the JCL itself. So this statement is incorrect.
Answer : B
Explanation
PROC is used for declaring a procedure.
Q 10 - What units are used for allocation of output dataset?
Answer : C
Explanation
In mainframes, we use cylinders, tracks and blocks for allocation of datasets.
To Continue Learning Please Login
Login with Google