JCL Online Quiz


Advertisements


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 : C

Explanation

DD statement is used to include name of the dataset to operate.

Answer : B

Explanation

Time parameter specifies the time span to be used by the processor to execute the job. Syntax : TIME=(mm, ss) or TIME=ss

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 = ONLY

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B

Explanation

Step2 will be executed as step1 abended and we have coded ONLY parameter which means this step will execute only if the previous steps abend.

Answer : B

Explanation

The Data Control Block (DCB) parameter details the physical characteristics of a dataset. This parameter is required for datasets that are newly created in the job step. LRECL is the length of each record held within the dataset. RECFM is the record format of the dataset.

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 - PROC1 is a in-stream procedure in a JCL and with this name PROC1 one catalog procedure exists, then which procedure will be invoked - catalog or in-stream?

//TXXXXX  JOB ,, NOTIFY = &SYSUID
//	JCLLIB ORDER = (XXXXX.PROCLIB) 
//PROC1   PROC                                              
//STEP1    EXEC PGM = IEFBR14                                   
//DD1      DD DSN = TXXXXX.TEST, SPACE = (TRK, (1,1)),           
//         DCB = (RECFM = FB, BLKSIZE = 8000, LRECL = 80),
//         DISP = (NEW, DELETE)
//PEND                                                    
//STEP1    EXEC  PROC1                                        

A - In-stream procedure

B - Catalog procedure

C - Job will abend

D - None of these

Answer : A

Explanation

In-stream procedure will be invoked.

Q 9 - What are the type of procedure in JCL?

A - Cataloged

B - Uncataloged

C - In-stream

D - Both A & D

Answer : D

Explanation

Catalog and in-stream procedures are used in JCL.

Q 10 - How do we pass values to a program through JCL?

A - In-stream data

B - PARM

C - Both A & B

D - Not possible

Answer : C

Explanation

We can pass data to a program either by in-stream data (DD *) or by using PARM parameter.


jcl_questions_answers.htm

Advertisements