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

Explanation

Based on the time duration and the number of resources required by the job, companies assign different job classes. These can be visualized as individual schedulers used by the OS to receive the jobs. Placing the jobs in the right scheduler will aid in easy execution of the jobs. Some companies have different classes for jobs in test and production environment. Valid values for CLASS parameter are A to Z characters and 0 to 9 numeric (of length 1). Following is the syntax: CLASS=0 to 9 | A to Z

Answer : D

Explanation

The system sends the success or failure message (Maximum Condition Code) to the user specified in this parameter. Syntax : NOTIFY="userid | &SYSUID"

Q 4 - If COND parameter is coded on both JOB and EXEC statement, then the condition on JOB is checked before checking the condition on EXEC statement. 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 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 - 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 - 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 - Which parameters we use in a JOB statement?

A - Positional

B - Keyword

C - In-Stream

D - Both A & B

Answer : D

Explanation

We use positional and keyword parameters in a job statement.

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