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

To specify the output destination for the system and Job messages when the job is complete. Syntax : MSGCLASS = CLASS

Q 3 - Which of the parameters can be coded on both JOB and EXEC?

A - TIME

B - COND

C - ACCT

D - All of these

Answer : D

Explanation

All these parameters can be coded on JOB as well as EXEC. Some other examples are REGION & ADDRSPC

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 - 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 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 - FORCE option in GDG's deletes the GDG versions and the GDG base. If any of the GDG versions are set with an expiration date which is yet to expire, then those are not deleted and hence the GDG base is retained. 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 - 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 - 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