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

The JCL along with the PROC is converted into an interpreted text to be understood by JES and stored into a dataset, which we call as SPOOL.

Answer : C

Explanation

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

Answer : C

Explanation

To specify the priority of the job within a job class. If this parameter is not specified, then the job is added to the end of the queue in the specified CLASS. Syntax : PRTY=N

Q 4 - A STEPLIB statement is used in order to identify the location of the program to be executed within a Job Step. The STEPLIB statement is specified after the EXEC statement and before the DD statement of the job step. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Q 5 - RESTART parameter is coded in the JOB or EXEC statement and it helps in manual restart of the JOB/STEP after the job failure. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Q 6 - Which utility is used to copy or print sequential data sets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : A

Explanation

IEBGENER is used to copy or print sequential datasets.

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 - Which parameters we use in a JOB statement?

A - Positional

B - Keyword

C - In-Stream

D - Both A & B

Answer : D

Explanation

We use positional and keyword parameters in a job statement.

Q 10 - Which utility is used to run a COBOL-DB2 program?

A - IKJEFT02

B - IKJEFT01

C - IGYCRCTL

D - None of these

Answer : B

Explanation

IKJEFT01 utility is used to run a COBOL-DB2 program.

jcl_questions_answers.htm
Advertisements