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 |
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
lines(1,cancel)??What is meant by that??Plz explain it....
what is the function of spool command?
If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?
What is the purpose of the PARM keyword in the EXEC statement?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..
Explain about LMPUT-
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
What is S322 abend ?
how do u send return code from cobol to jcl ?
Where & How Do You Code Identifier In Jcl?