View previous topic :: View next topic
|
Author |
Message |
rajeshreddy
New User
Joined: 14 Mar 2005 Posts: 2 Location: Bangalore
|
|
|
|
Hi,
Can anybody help me about this?
I have a job, which is having, lets say 10 steps.Can we run the job so that the steps are executed in the reverse order?
steps must be executed in the following order..10,9,8,7,6,....
thanks
Rajesh |
|
Back to top |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
I don't know why you are experimenting with this things...
if u want step 10,9,8.... give those in that order whats in it.
I agree i don't have answer for this but if something which is very easily done why should we beat about the bush.
if you know the answer let me know... |
|
Back to top |
|
|
khannay2k
New User
Joined: 24 Feb 2005 Posts: 28 Location: Bangalore
|
|
|
|
Hi Rajesh,
am not very sure, but still i feel like this can be done with DPRTY paramater which is available with the exec statement, still correct if you still find any.
Thanks & Regards,
Rajesh.M |
|
Back to top |
|
|
rajeshreddy
New User
Joined: 14 Mar 2005 Posts: 2 Location: Bangalore
|
|
|
|
Hi Mouli,
I know this can be done easily by writing the steps in the reverse order. But if there are more steps involved, then writing all of them in the reverse order would be a problem. There should be a way out to solve this issue. is anybody aware of this?
Thanks
Rajesh |
|
Back to top |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
I agree that this is a very strange question. However just as a mental exercise, I think you could do it this way:
If you had a 5 step proc executed within a job, you could execute the proc 5 times, the first time you'd code a restart for step 5, for each additional execution of the proc, you'd condition code out the appropriate steps.
Why you'd ever do this is beyond me, but what ever...... |
|
Back to top |
|
|
Prandip
New User
Joined: 04 Mar 2005 Posts: 84 Location: In my tiny cubicle ...
|
|
|
|
I was thinking that you might want to use the IEBEDIT utility to specify which steps to execute, but even IEBEDIT expects the steps to execute in sequential order, so it would only work if it was called 10 times, once for each step. |
|
Back to top |
|
|
narena
New User
Joined: 16 Mar 2005 Posts: 18
|
|
|
|
I think...
With DPRTY we can sovle this problem. DPRTY is the one of the parameters of EXEC statement.
Syntax: DPRTY =(M,N) where M,N ranges 0-15
The value is calculated using the formula N*16+M
By assigining High priority value to last step, Next Hight value to next step.......... like that we can achieve this one. Try it............. |
|
Back to top |
|
|
|