wt will happen to the step of a job if u code COND=ONLY
Answers were Sorted based on User's Feedback
//s1 exec pgm=ex1
//s2 exec pgm=ex2
//s3 exec pgm=ex3,cond=only
//s4 exec pgm=ex4
1) if s1 executes sucess, s2 got abend ,then executes s3.and
stops execution
2) if s1 got abend, s2 dont executes ,then s3 executes.and
stops execution
3) if s1 executes sucess ,s2 executes sucess,then s3 wont
executes. and go to s4.....
if any wrong in my answer plz correct me..
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / suman
It is to execute subsequent activity when previous activity
terminated abnormally(unsucessfully).
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vinay sonar
//STEP2 DD PGM=IEBGENER,COND=ONLY
it means execute that step only if previous step abends
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rahaman
that step cond=only wil be executed only when the about step fails or shows an abend.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sdexcellent@yahoo.co.in
if COND=ONLY then the next step will be executed only when
the previous step is not executed
| Is This Answer Correct ? | 1 Yes | 3 No |
Explain about LMFREE�free data set from its association with data ID
How jcl is used for testing batch programs?
What is DATACOM db?
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
What is a GDG? Why do we go for a GDG ? utility used to create GDG?
What is the motivation behind coding class parameter in job statement?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
what are the statements that are not valid to be included in an include statement?
How can we increment subscript and index?
What is condition checking in jcl? Is this possible?
ihave ten flatfile in that iwant to concatinate all the files except file 5,6 into output file by uing jcl? how to do this? give me detail yntax for tis?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK