- 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.
Answer : C
Explanation
JCL statements are coded on 80 bytes records.
Q 2 - What does JES stands for?
Answer : C
Explanation
The Operating System uses Job Entry System (JES) to receive jobs into the Operating System, to schedule them for processing and to control the output.
Q 3 - What is the purpose of coding RESTART 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 : C
Explanation
RESTART is used to restart a job from a particular step. Syntax : RESTART=* | STEPNAME
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 = EVEN
Answer : B
Explanation
Step2 will be executed as we have coded EVEN which means this step will be executed even if all other steps abends or not. If you will code EVEN then step will be executed irrespective of results from other steps.
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)
Answer : D
Explanation
IEFBR14 is no operation utility. Used to return control to user and terminate. It is usually used to create empty dataset or delete an existing dataset.
Q 7 - LIMIT option in GDG's specifies the maximum number of versions that the GDG base can hold. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 8 - What sort card you will use to copy the data from one dataset to another dataset?
Answer : A
Explanation
In the SORT step mention the SYSIN & SYSOUT dataset name & in sort card code SORT FIELDS=COPY to copy data from input file to output file.
Answer : C
Explanation
We use & for symbolic parameters.
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.
To Continue Learning Please Login
Login with Google