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

Explanation

When the job reaches its highest priority, it is taken up for execution from the job queue. The JCL is read from the SPOOL, the program is executed and the output is redirected to the corresponding output destination as specified in the JCL.

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 - What will happen to Step2 if Step1 executes with RC=0?

//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 for copy, merge, compress, backs up, or restores partitioned data sets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : B

Explanation

IEBCOPY is used to copy, merge, compress, backs up, or restores partitioned data sets.

Q 7 - Generation Data Groups (GDGs) are group of datasets related to each other by a common name. The common name is referred as GDG base and each dataset associated with the base is called a GDG version. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 8 - What is the name of program which will be executed in the STEP1?

//XXXXX JOB ,, NOTIFY = SYSUID, CLASS = A, MSGCLASS = X
//      SET A = PROG1
//STEP1    EXEC PGM = &A
//DD1      DD   DSN = FILE1, DISP = SHR

A - A

B - PROG1

C - It will not recognize the value of A

D - None of these

Answer : B

Explanation

SET statement is used to assign the values to symbolic parameters. So value of A is PROG1. So PROG1 will be executed in STEP1.

Q 9 - Which method you will use to skip a particular step in JCL?

A - SKIP

B - COND

C - ASKIP

D - None

Answer : B

Explanation

You can use COND with the step. If condition is true step will be bypassed.

Q 10 - Which parameter is use to declare the name of dataset in DD statement?

A - DS

B - NAME

C - DSN

D - MARK

Answer : C

Explanation

DSN is used to declare the name of dataset in a DD statement.

jcl_questions_answers.htm
Advertisements