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

Specifies the information required for SPOOLing of the job such as job id, priority of execution, user-id to be notified upon completion of the job.

Answer : C

Explanation

RESTART is used to restart a job from a particular step. Syntax : RESTART=* | STEPNAME

Q 4 - A JCLLIB statement is used to identify the private libraries used in the job. It can be used both with instream and cataloged procedures. 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 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 sort card you will use to copy the data from one dataset to another dataset?

A - SORT FIELDS=COPY

B - SORT FIELDS=MOVE

C - SORT FIELDS=COPY(ALL)

D - SORT FIELDS=MOVE(ALL)

Answer : A

Explanation

In the SORT step mention the SYSIN & SYSOUT dataset name & in sort card code SORT FIELDS=COPY to copy data from input file to output file.

Q 9 - How to send the execution status of a job to a user?

A - STATUS

B - MESSAGE

C - NOTIFY

D - ALERT

Answer : C

Explanation

We use NOTIFY parameter to send the status of a job.

Q 10 - What DISP parameter we mention for creation of temporary dataset so that we can use it in later steps?

A - DISP=(NEW,CATLG,DLTE)

B - DISP=(NEW,DLTE)

C - DISP=(NEW,PASS)

D - DISP=(NEW,CTLG)

Answer : C

Explanation

PASS is valid only for normal disposition. This is used when the dataset is to be passed and processed by the next job step in a JCL.


jcl_questions_answers.htm

Advertisements
E-Books Store