View previous topic :: View next topic
|
Author |
Message |
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
I have 3 steps in a jcl. But, I want to execute only 3rd step alone and I dont want to execute 1st and 2nd steps in the JCL.
for this the answer is we need to code the COND=(0,LE) in 1st and 2nd steps not to execute those steps...............
here the question is..............
for first step itself we are conding the COND parameter then with which COND code it compares the RETURN CODE.....normally it compares with the RETURN CODE of the previous steps. But, in case of first step with which RETURN CODE it compares the condition code.............
I hope you understood the question..........
thx in advance.............................
pavan |
|
Back to top |
|
|
kumaresh.M
New User
Joined: 17 Feb 2006 Posts: 64 Location: Bangalore
|
|
|
|
Hi friend,
i think what ever its the first step will be executed,
we can't specify COND parameter in first step,
if u want to leave the first step use the restart option
iam also confused with the samething and i got solution from my friends
corrections well come |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Pavan,
The 1st step attempting execution can NEVER test for a RC of a prev step because there IS no prev step. So you have to restart at the step you want to execute. You use COND to stop exec of the following steps. The easiest way to do that is to put COND=(0,LE) in the JOB card. That o'rides the COND of all the JOB steps.
Check out my ans in the link below. Cross my heart, it works.
ibmmainframes.com/viewtopic.php?t=9178&highlight= |
|
Back to top |
|
|
|