- 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 - 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 - In Job processing, what happens in Hard copy stage?
A - Selection of Initiator for execution of Job
Answer : C
Explanation
In hard copy stage, output of job is moved to spool output.
Q 3 - How much time Step2 will have for execution, if Step1 will take 2.5 minutes?
//TXXXXXX JOB (XXXXX), ’XXXX’, TIME = 4 //STEP1 EXEC PGM = PR1, TIME = 4 //STEP2 EXEC PGM = PR2, TIME = 0
Answer : C
Explanation
The job TIME limit takes precedence over the step time limit. Step2 will have 1.5 minutes for execution. If it goes beyond that, this job will abend.
Q 4 - A SET statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the JCL. State whether true or false?
Answer : A
Explanation
This statement is correct.
Q 5 - Which parameter is used to check the syntax of a JCL without executing it?
Answer : D
Explanation
TYPRUN = SCAN checks the syntax errors of the JCL without executing it.
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 - JOB statement specifies the information required for SPOOLing of the job such as job id, priority of execution, user-id to be notified upon completion of the job. 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 - 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.
To Continue Learning Please Login
Login with Google