View previous topic :: View next topic
|
Author |
Message |
jayant_tibhe
New User
Joined: 25 Feb 2006 Posts: 27 Location: Pune
|
|
|
|
Hi Friends,
I have a doubt.
How do I use the RESTART parameter to execute a job with 10 steps, of which I need to execute step1 then execute step9, without executing the steps in-between .
Suppose i have 10 steps in my jcl STEP1, STEP2........STEP10 now i want to execute only STEP1, STEP5, STEP8, STEP9, STEP10. is there any chance to execute without COND parameter, we had IF cond but it makes the jcl some what complex |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Please search first. This question has been asked many times before.
See this post. |
|
Back to top |
|
|
pbgunasekar
New User
Joined: 28 May 2005 Posts: 26 Location: Chennai
|
|
|
|
hi,
better you copy all the steps you need to execute in the other member and run. |
|
Back to top |
|
|
KS
New User
Joined: 28 Feb 2006 Posts: 91 Location: Chennai
|
|
|
|
Hi,
You can use Restart parameter if you need to start executing from certain steps and can bypass the needed steps using COND parameter.
Thanks,
KS |
|
Back to top |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
you can use DPRTY parameter for each and every step in which order you want to execute the steps.......
DPRTY=(val1,val2) the value will be calculated as
val1+val2*15
based on the value in ascending order the corresponding steps are executed....
correct me if I am wrong................
cheers.......................
pavan |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
simply delete all the steps not needed and rerun the job.
if you want to control the job's flow with IF-ENDIF,
i don't see why it should be more complex as COND.
at least it is not the reverse wired logic of the COND,
which it makes more complex, more useful is IF-ENDIF,
because of it's positive condition phrase.
don't try harder...
martin9
tip: make it as simple as possible |
|
Back to top |
|
|
|