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 how can the submitting users racf authority be overridden in a job stream?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
How to find in aparticular step how many versions a paricular gdg base have?
what is DD statement is used in JCL?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
How to find out the number of records in a file using JCL
When will we need to specify Space parameter ?
What is the improvement to COND= in the latest version of MVS?
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
What is the difference between primary and secondary allocations for a dataset?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?