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

Q 1 - On how many byte records JCL statements are coded?

A - 16

B - 44

C - 80

D - 32

Answer : C

Explanation

JCL statements are coded on 80 bytes records.

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.

Answer : C

Explanation

RESTART is used to restart a job from a particular step. Syntax : RESTART=* | STEPNAME

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

Answer : C

Explanation

The DISP parameter is used to describe the status of the dataset, disposition at the end of the job step on normal and abnormal completion. DISP is not required in a DD statement only when the dataset gets created and deleted in the same job step (like the temporary datasets). Syntax : DISP=(status, normal-disposition, abnormal-disposition)

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 - 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 - What sort card you will use to copy the data from one dataset to another dataset?

A - SORT FIELDS=COPY

B - SORT FIELDS=MOVE

C - SORT FIELDS=COPY(ALL)

D - SORT FIELDS=MOVE(ALL)

Answer : A

Explanation

In the SORT step mention the SYSIN & SYSOUT dataset name & in sort card code SORT FIELDS=COPY to copy data from input file to output file.

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

A - %

B - @

C - &

D - $

Answer : C

Explanation

We use & for symbolic parameters.

Q 10 - Which statement is used to end the in-stream procedure in a JCL?

A - STOP

B - END

C - PEND

D - None of these

Answer : C

Explanation

PEND statement is used to end the in-stream procedure.

jcl_questions_answers.htm
Advertisements