- 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 does MVS stand for?
Answer : C
Explanation
MVS stands for Multiple Virtual storage which is the operating system for the IBM mainframe systems.
Q 2 - In Job processing, what happens in Execution stage?
A - Selection of Initiator for execution of Job
Answer : A
Explanation
When the job reaches its highest priority, it is taken up for execution from the job queue. The JCL is read from the SPOOL, the program is executed and the output is redirected to the corresponding output destination as specified in the JCL.
Q 3 - What is the purpose of coding NOTIFY 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 : D
Explanation
The system sends the success or failure message (Maximum Condition Code) to the user specified in this parameter. Syntax : NOTIFY="userid | &SYSUID"
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 - Temporary datasets need storage only for the job duration and are deleted at job completion. Such datasets are represented as DSN=&name or simply without a DSN specified. State whether true or false?
Answer : A
Explanation
This statement is correct.
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 - Generation Data Groups (GDGs) are group of datasets related to each other by a common name. The common name is referred as GDG base and each dataset associated with the base is called a GDG version. 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)
Answer : B
Explanation
PROC is used for declaring a procedure.
Q 10 - What is the output of following JCL?
//STEP1 EXEC PGM = IEBEDIT //SYSUT1 DD DSN = XXXXXX.XXXX.XXXX(XXXXXXXX), DISP = SHR //SYSUT2 DD SYSOUT = (*,INTRDR) //SYSPRINT DD SYSOUT = * //SYSIN DD * EDIT TYPE = INCLUDE, STEPNAME = (STEP3,STEP7) /*
A - It will execute only STEP1
B - It will exclude STEP3 & STEP4 from execution
Answer : C
Explanation
This utility is used to run only particular steps in a JCL.
To Continue Learning Please Login
Login with Google