JCL Online Quiz


Advertisements


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

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

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 = (4, LE, STEP1)

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B

Explanation

It will read the condition on step2 as 4 Less than 0, which is false, so step will be executed. If condition is true then only the step will be bypassed.

Q 4 - When the procedure is separated out from the JCL and coded in a different data store, it is called a Cataloged Procedure. A PROC statement is not mandatory to be coded in a cataloged procedure. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Q 5 - Which parameter is used to pass information from JCL to a COBOL program?

A - ONLY

B - COND

C - REGION

D - PARM

Answer : D

Explanation

PARM is used to pass the values from JCL to COBOL program.

Q 6 - Which utility is used to create, delete, rename, catalog, uncatalog datasets (other than PDS) and usually used to manage VSAM datasets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IDCAMS

Answer : D

Explanation

IDCAMS is used to create, delete, rename, catalog, uncatalog datasets (other than PDS) and usually used to manage VSAM datasets.

Q 7 - SCRATCH option in GDG's physically deletes the generation when it is uncataloged. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 8 - In-stream procedure is coded as a separate member of a PDS. State whether true or false?

A - True

B - False

Answer : B

Explanation

In-stream procedure is coded inside the JCL itself. So this statement is incorrect.

Q 9 - If we have created a (+1) generation dataset in the first step of a job then how we can reference it in later steps of the same job for input?

A - As (+2) generation

B - As (+0) generation

C - As (+1) generation

D - As (-2) generation

Answer : C

Explanation

As we have created it in the same JCL, then we use (+1) as its reference.

Q 10 - Which utility is use to compile a COBOL program?

A - IKJEFT02

B - IKJEFT01

C - IGYCRCTL

D - None of these

Answer : C

Explanation

We use IGYCRCTL utility to compile a COBOL program.


jcl_questions_answers.htm

Advertisements