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

Explanation

When the job is complete, the allocated resources and the JES SPOOL space is released. In order to store the job log, we need to copy the job log to another dataset before it is released from the SPOOL.

Q 3 - How much time Step2 will have for execution, if Step1 will take 2.5 minutes?

//TXXXXXX JOB (XXXXX), ’XXXX’, TIME = 4
//STEP1 EXEC PGM = PR1, TIME = 4
//STEP2 EXEC PGM = PR2, TIME = 0

A - 4

B - 0

C - 1.5

D - 2.5

Answer : C

Explanation

The job TIME limit takes precedence over the step time limit. Step2 will have 1.5 minutes for execution. If it goes beyond that, this job will abend.

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 - 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 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 - 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 - 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 - How do we pass values to a program through JCL?

A - In-stream data

B - PARM

C - Both A & B

D - Not possible

Answer : C

Explanation

We can pass data to a program either by in-stream data (DD *) or by using PARM parameter.

jcl_questions_answers.htm
Advertisements