- 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 will happen to Step2 if Step1 executes with RC=0?
//TXXXXXX JOB (XXXXX), ’XXXX’ //STEP1 EXEC PGM = PR1 //STEP2 EXEC PGM = PR2, COND = (4, LE, STEP1)
Answer : B
Explanation
It will read the condition on step2 as 4 Less than 0, which is false, so step will be executed. If condition is true then only the step will be bypassed.
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 - 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 - 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 - A job is a unit of work which can be made up of many job steps. Each job step is specified in a Job Control Language (JCL) through a set of Job Control Statements. State whether true or false?
Answer : B
Explanation
This is self explanatory.
Q 8 - What statements are invalid in a procedure?
Answer : D
Explanation
A procedure must not contain following statements : JOB statement, JOBLIB DD statement, DD * , DD DATA - In-stream data, delimiter statement, Null statement, JES statements, PEND statement (for cataloged procedures)
Q 9 - Up to which level cataloged and in-stream procedure can invoke other procedure?
Answer : B
Explanation
Cataloged and In-stream procedure can invoke other procedure up to 15 levels only.
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