View previous topic :: View next topic
|
Author |
Message |
acrajesh
New User
Joined: 31 May 2007 Posts: 15 Location: Bangalore
|
|
|
|
Hi All,
I need to restart a STEP within an IF condition in a JCL
//STEP1
// IF condition THEN
//STEP2
//STEP3
The JOB abends at STEP3 and I wanna restart at the same.
How to achieve the same? |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Comment IF condition and restart your job from step3. |
|
Back to top |
|
|
sudhakar84
New User
Joined: 20 Jun 2008 Posts: 25 Location: chennai
|
|
|
|
I agree with srinivasa rao explaination.
We have to comment the if and End-If statments and give RESTART=STEP3 in the job card. |
|
Back to top |
|
|
acrajesh
New User
Joined: 31 May 2007 Posts: 15 Location: Bangalore
|
|
|
|
//step1
//*if rc = 0 then
//step2
//*else
//*step3
//*endif
should it be the code if job abends at step2 |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|