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.

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 - What will happen to Step2 if Step1 abend with some error?

//TXXXXXX JOB (XXXXX), ’XXXX’
//STEP1 EXEC PGM = PR1
//STEP2 EXEC PGM = PR2, COND = EVEN

A - Step2 will be bypassed

B - Step2 will be executed

C - None of these

Answer : B

Explanation

Step2 will be executed as we have coded EVEN which means this step will be executed even if all other steps abends or not. If you will code EVEN then step will be executed irrespective of results from other steps.

Answer : A

Explanation

The SPACE parameter specifies the space required for the dataset in the DASD (Direct Access Storage Disk). Syntax : SPACE=(spcunits, (pri, sec, dir), RLSE)

Q 6 - Which utility is used for copy, merge, compress, backs up, or restores partitioned data sets?

A - IEBGENER

B - IEBCOPY

C - IEBCOMPR

D - IEBUPDTE

Answer : B

Explanation

IEBCOPY is used to copy, merge, compress, backs up, or restores partitioned data sets.

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 - In order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

A - COND=(12,GT,STEP1)

B - COND=(12,LT,STEP1)

C - COND=(8,EQ,STEP1)

D - RESTART

Answer : B

Explanation

COND=(12,LT,STEP1), it will read the condition as 12 less than 8, which is false, so this step will be executed.

Q 10 - Which utility is use to compile a COBOL program?

A - IKJEFT02

B - IKJEFT01

C - IGYCRCTL

D - None of these

Answer : C

Explanation

We use IGYCRCTL utility to compile a COBOL program.


jcl_questions_answers.htm

Advertisements