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

Explanation

Specifies the information required for SPOOLing of the job such as job id, priority of execution, user-id to be notified upon completion of the job.

Q 3 - How much time Step2 will have for execution, if Step1 will take 2.5 minutes?

//TXXXXXX JOB (XXXXX), ’XXXX’, TIME = 4
//STEP1 EXEC PGM = PR1, TIME = 4
//STEP2 EXEC PGM = PR2, TIME = 0

A - 4

B - 0

C - 1.5

D - 2.5

Answer : C

Explanation

The job TIME limit takes precedence over the step time limit. Step2 will have 1.5 minutes for execution. If it goes beyond that, this job will abend.

Q 4 - If COND parameter is coded on both JOB and EXEC statement, then the condition on JOB is checked before checking the condition on EXEC statement. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Answer : D

Explanation

A temporary dataset is the one that is created and deleted within a job and is declared as DSN=&&TEMP. Do not mention the DSN parameters with this.

Q 7 - LIMIT option in GDG's specifies the maximum number of versions that the GDG base can hold. 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 - Which method you will use to skip a particular step in JCL?

A - SKIP

B - COND

C - ASKIP

D - None

Answer : B

Explanation

You can use COND with the step. If condition is true step will be bypassed.

Q 10 - What DISP parameter we mention for creation of temporary dataset so that we can use it in later steps?

A - DISP=(NEW,CATLG,DLTE)

B - DISP=(NEW,DLTE)

C - DISP=(NEW,PASS)

D - DISP=(NEW,CTLG)

Answer : C

Explanation

PASS is valid only for normal disposition. This is used when the dataset is to be passed and processed by the next job step in a JCL.

jcl_questions_answers.htm
Advertisements