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

The Operating System uses Job Entry System (JES) to receive jobs into the Operating System, to schedule them for processing and to control the output.

Q 3 - What will happen to Step2 if Step1 executes with RC=0?

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

Explanation

Step2 will be bypassed as we have coded ONLY, which means Step will be executed only if the previous steps abend.

Q 4 - Calling a procedure from within a procedure is called a nested procedure. Procedures can be nested up to 15 levels. The nesting can be completely in-stream or cataloged. We cannot code an in-stream procedure within a cataloged procedure. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

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 to sort a file in JCL?

A - DFHSORT

B - DHSORT

C - MERGE

D - SORT

Answer : D

Explanation

SORT utility is used to sort a file in a particular order based on the sort card.

Q 7 - A job is a unit of work which can be made up of many job steps. Each job step is specified in a Job Control Language (JCL) through a set of Job Control Statements. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 8 - What will be the output of following JCL which is calling a catalog procedure?

//TXXXXXJ  JOB ,, NOTIFY = &SYSUID, CLASS = A, MSGCLASS = X
//    JCLLIB  ORDER=XXXXX.PROC.LIBRARY
//DATA1 EXEC PROC = PROC1, TIME = 3

A - TIME parameter inside PROC1 will not be overridden

B - TIME parameter coded in PROCEDURE PROC1 will be replaced with TIME parameter overridden in the JCL i.e TIME = 3

C - It will give abend

D - None of these

Answer : B

Explanation

We are overriding the TIME parameter inside PROC1.

Q 9 - What prefix character we use for symbolic parameter?

A - %

B - @

C - &

D - $

Answer : C

Explanation

We use & for symbolic parameters.

Q 10 - Calling a procedure from within a procedure is called a nested procedure. Procedures can be nested up to 15 levels. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

jcl_questions_answers.htm
Advertisements