Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.

0 Answers  


Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


What are the difference between jcl and jes?

0 Answers  


Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

5 Answers   L&T,


How can an in-stream dataset be terminated?

0 Answers  






lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  


how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


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

0 Answers  


Name the parameters which can be used to limit the number of records written to a sysout dataset?

0 Answers  


How to copy VSAM files without using REPRO

3 Answers   ADP,


How are GDGs concatenated?

1 Answers  






Categories