COND ->
step1
.
.
step2,

Step2, Executes if the CC of step1 is 0.
But even if it is NOT 0 and if we dont give COND, will step2
be executed ?

Answers were Sorted based on User's Feedback



COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / sillyme

Step2 without COND will be executed regardless of Step1 RC

Is This Answer Correct ?    4 Yes 0 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / ven

step2 will not be executed if step1 cc not= to 0

Is This Answer Correct ?    0 Yes 2 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / rup

STEP1
. .
. .
STEP2 COND(4,GE,STEP1)

STEP2 EXECUTES IF STEP1 CC=0, IF NOT 0 step2 will not
execute i.e step1 is 4 or >4 then step2 will not execute.

If condition is not giving in step2, then step2 will execute.

Is This Answer Correct ?    0 Yes 2 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / sandhya

In the job card we have to give cond=(0,gt)
then if even step1 is abended then also step2 will execute

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

Name some of the JCL statements that are not allowed in procs.?

1 Answers  


Can I send output of job to my remote device careerride123?

1 Answers  


How to get cursor position from system in CICS environment ?

8 Answers  


the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.

7 Answers   IBM,


How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

2 Answers   Target,


what is the resolution for sb37 error

3 Answers   TCS,


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

1 Answers   IBM,


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1 Answers   IBM,


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


What is the purpose of dd?

1 Answers  


How is a new GDG coded?

2 Answers  


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,


Categories