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

Q 1 - On how many byte records JCL statements are coded?

A - 16

B - 44

C - 80

D - 32

Answer : C

Explanation

JCL statements are coded on 80 bytes records.

Answer : C

Explanation

The Operating System uses Job Entry System (JES) to receive jobs into the Operating System, to schedule them for processing and to control the output.

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 - A SET statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the JCL. State whether true or false?

A - True

B - False

Answer : A

Explanation

This statement is correct.

Answer : D

Explanation

The DSN parameter refers to the physical dataset name of a newly created or existing dataset. The DSN value can be made up of sub-names each of 1 to 8 characters length, separated by periods and of total length of 44 characters (alphanumeric).

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 - 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 statements are invalid in a procedure?

A - JOB statement

B - Delimiter statement

C - Null statement

D - All of these

Answer : D

Explanation

A procedure must not contain following statements : JOB statement, JOBLIB DD statement, DD * , DD DATA - In-stream data, delimiter statement, Null statement, JES statements, PEND statement (for cataloged procedures)

Q 9 - Up to which level cataloged and in-stream procedure can invoke other procedure?

A - 20

B - 15

C - 25

D - 12

Answer : B

Explanation

Cataloged and In-stream procedure can invoke other procedure up to 15 levels only.

Q 10 - What units are used for allocation of output dataset?

A - KB

B - Bytes

C - Cylinders, Tracks & Blocks

D - MB

Answer : C

Explanation

In mainframes, we use cylinders, tracks and blocks for allocation of datasets.

jcl_questions_answers.htm
Advertisements