View previous topic :: View next topic
|
Author |
Message |
rameshbabu Warnings : 1 New User
Joined: 23 May 2005 Posts: 27
|
|
|
|
hi plse clarify my doubt i am having 100 steps in a proc i want excute only 3 rd remaining(from 1 to 2 and 4 to 100) and all no need we can use cond
=(0,le) in jobcard and restart=procname.stepname is it ok ? or any other suitable solution is there ? |
|
Back to top |
|
|
lucky
New User
Joined: 01 Jun 2005 Posts: 12 Location: Croatia
|
|
|
|
I was on a JCL course recently and I asked the instructor the same question. He's response was the same, to use restart and break in the next step. I would rather use "//" not conditionals.
With COND (0,LE) you could have a problem if the previous job didn't end with 0, or if there are more than 4 steps in the JCL. |
|
Back to top |
|
|
Deepa.m
New User
Joined: 28 Apr 2005 Posts: 99
|
|
|
|
you can introduce a null statment (//) at the end of step3 and restart from
step 3.
Can we use a COND in jobcard? My understanding is Cond can be given along with EXEC statement. |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi Deepa,
Yes, condition parameter can be given in the jobcard along with the
EXEC statements mentioned in steps to follow.
let me know in case of any concerns.
regards,
David. |
|
Back to top |
|
|
frame_kan
New User
Joined: 03 Jun 2005 Posts: 5
|
|
|
|
Can anyone please give example of null statement and restart for this problem |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
Back to top |
|
|
sridhard
New User
Joined: 02 Jun 2005 Posts: 8 Location: Chennai
|
|
|
|
Hi,
Restart the job from the 5th step and override the condition parameter for the successive steps of the proc, in the job.
The condition may look like COND.STEP6 =(0,LE)
Thanks
Sridhar |
|
Back to top |
|
|
|