View previous topic :: View next topic
|
Author |
Message |
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
Can anybody give the answer of the following questions.
There are 3 steps in the JCL:
How you can bypass step2 in your JCl by using cond parameter in each time.
How can you run a step2 all the times by using cond parameters(without giving cond=even). Even the previous step fails you have to execute step2. |
|
Back to top |
|
|
srividya.srinivasan
New User
Joined: 30 Mar 2005 Posts: 11 Location: Pune, India
|
|
|
|
Hi Subhasis,
To bypass step2 in your JCL give COND(0,GT,Step1), coz u r return Code will always be either Equal to or greater than 0.
Similarly to Execute your step 2 everytime give COND(0,LT,Step1), Coz the return Code will never be less than zero
Please let me know if u have any queries.
regards,
Vidya |
|
Back to top |
|
|
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
Thnx Vidya |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
I have a ques:
What happens to step2 if step1 passes a RC=4? |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi Subhasis,
To execute the step STEP2 all the time irrespective of the return code of previuos step using COND parameter
COND=(STEP1,GT,4095)
And similarly if you want the STEP2 should never execute
COND=(STEP1,LE,4095).
All suggestions are welcome.
regards,
David. |
|
Back to top |
|
|
|