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.

Questions and Answers

Answer : C

Explanation

MVS stands for Multiple Virtual storage which is the operating system for the IBM mainframe systems.

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.

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?

A - True

B - 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?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Q 6 - Which utility is used a dummy utility?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEFBR14

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?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 8 - What statements are invalid in a procedure?

A - JOB statement

B - Delimiter statement

C - Null statement

D - All of these

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 - Which statement is coded in the starting of a procedure?

A - PEND

B - PROC

C - SET

D - START

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

C - It will execute only STEP3 & STEP4

D - None of these

Answer : C

Explanation

This utility is used to run only particular steps in a JCL.

jcl_questions_answers.htm
Advertisements