a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?



a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job termina..

Answer / mouparna roy

COND=ONLY

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

how you can direct the data to spool using SYSOUT option?

1 Answers  


What is the difference between run mode and addressing mode?

1 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?

3 Answers  


How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,


Explain the function of the steplib dd statement?

1 Answers  


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


Is it possible to define dd statements as you want?

1 Answers  


Categories