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

Answer Posted / mouparna roy

COND=ONLY

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can return codes be tested before execution of a job step?

909


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1937


How would you understand error(execution phase)?

613


how to run batch program without jcl?

10033


Is it possible to define dd statements as you want?

632






what is use of dcb parameter in dd statement?

759


What is the function of the dd avgrec keyword in sms datasets?

816


Matching Logic in Jcl not in cobol.Could any one please answer this question

3659


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1971


Explain how can the attributes of one sms dataset be copied to another dataset?

690


How can a fb file convert to vb file using sort program?

790


Why include statement is used in a jcl?

675


Name the statement which can be used to send data to another mvs jes3 node?

589


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

571


Explain dfsort utility?

650