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

JCL stands for Job Control Language which provides the specifications necessary to process a job.

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 = (0, EQ, STEP1)

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : A

Explanation

It will read the condition on step2 as 0 EQUAL 0, which is true, so step will be bypassed. If condition is true then the step will be bypassed.

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.

Q 5 - Temporary datasets need storage only for the job duration and are deleted at job completion. Such datasets are represented as DSN=&name or simply without a DSN specified. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Q 6 - Which utility is used to compare the contents of sequential data sets and partitioned datasets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : C

Explanation

IEBCOMPR is used to compare the contents of sequential data sets and partitioned datasets.

Q 7 - JOB statement specifies the information required for SPOOLing of the job such as job id, priority of execution, user-id to be notified upon completion of the job. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 8 - Can a Catalogued procedure call an In-stream procedure?

A - No

B - Yes

Answer : B

Explanation

Yes, a catalog procedure can call a in-stream procedure.

Q 9 - Which statement is coded in the starting of a procedure?

A - PEND

B - PROC

C - SET

D - START

Answer : B

Explanation

PROC is used for declaring a procedure.

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