View previous topic :: View next topic |
Author |
Message |
Shankarganesh_gopal Beginner
Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
|
Posted: Tue May 19, 2009 5:38 am Post subject: Process Step3 when Step2 Flush |
|
|
I have a requirement.
In a job A, Step1 is executed and it issued RC 20. Because of RC 20, step2 was not executed (means flushed).
My requirement is Step3 has to be executed only when Step2 runs and issued RC 10.
I gave the condition as COND=(10,NE,#01). It is working fine when Step2 runs and issue RC10. Incase, when Step2 flushed because of RC20 of Step1, even then Step3 is executing.
Can anybody have an idea, how to handle this situation.
Thanks,
Shankar. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue May 19, 2009 6:38 am Post subject: |
|
|
you could solve it with IF/THEN/ELSE logic.
best place to look is in the JCL manuals.
Here is a quick start link Refer chapter-10 in this jcl tutorial _________________ Dick Brenholtz
American living in Varel, Germany
Last edited by dbzTHEdinosauer on Tue May 19, 2009 10:38 am; edited 1 time in total |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Tue May 19, 2009 10:27 am Post subject: |
|
|
First, use the IF/THEN/ELSE/ENDIF logic that Dick suggests to make it more readable (maintainable) to those who follow you. Second, on which step is your COND parameter coded on? Please post your JCL using BBCode. _________________ ....Terry |
|
Back to top |
|
|
Shankarganesh_gopal Beginner
Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
|
Posted: Wed May 20, 2009 10:26 pm Post subject: |
|
|
I got it resolved using IF/THEN/ELSE.
Thanks a lot all of you. |
|
Back to top |
|
|
|
|