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

Explanation

Specifies the PROC/Program to be executed. In the above example, a SORT program is being executed (i.e., sorting the input data in a particular order).

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 - What will happen to Step2 if Step1 executes with RC=0?

//TXXXXXX JOB (XXXXX), ’XXXX’
//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = EVEN

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B

Explanation

Step2 will be executed as we have coded EVEN which means this step will be executed even if all other steps abends or not. If you will code EVEN then step will be executed irrespective of results from other steps.

Q 5 - Which step will be executed after Step1, if Step1 executes with RC=4?

//TXXXXXX JOB (XXXXX), ’XXXX’
//STEP1 EXEC PGM = PR1
// IF STEP1.RC GT 0 THEN                      
//STEP2 EXEC PGM = PR2
// ELSE
//STEP3 EXEC PGM = PR3
// END-IF

A - Step2 will be executed

B - Step3 will be executed

C - None of these

Answer : A

Explanation

If condition is 4 Greater than 0 and this condition is true, so Step2 will be executed and Step3 will be bypassed.

Q 6 - Which utility is used to update PDS?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : D

Explanation

IEBUPDTE is used to update PDS

Q 7 - The GDG versions can have same or different DCB parameters. An initial model DCB can be defined to be used by all versions, but it can be overridden when creating new versions. 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 - What prefix character we use for symbolic parameter?

A - %

B - @

C - &

D - $

Answer : C

Explanation

We use & for symbolic parameters.

Q 10 - What units are used for allocation of output dataset?

A - KB

B - Bytes

C - Cylinders, Tracks & Blocks

D - MB

Answer : C

Explanation

In mainframes, we use cylinders, tracks and blocks for allocation of datasets.

jcl_questions_answers.htm
Advertisements