Restart parameter for PROC.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Restart parameter for PROC.

Postby chetan_007 » Wed Apr 08, 2009 10:47 pm

Hi Friends,


If I have a PROC inside another PROC or continuosly three PROC's one inside another.
I need to restart innermost PROC from STEP025. So what will be the restart parameter for this PROC Step.

Please let me know.

Thanks.
chetan_007
 
Posts: 24
Joined: Sun Mar 02, 2008 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: Restart parameter for PROC.

 

Re: Restart parameter for PROC.

Postby dick scherrer » Thu Apr 09, 2009 2:17 am

Hello,

Suggest you rethink the process. . .

You cannot restart inside a nested proc.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Restart parameter for PROC.

Postby chetan_007 » Fri Apr 10, 2009 3:01 pm

Hi,

If one of the step in the innermost proc (in nested proc's) fails, then how to restart it from that step after fixing the problem?
I didn't get, could you explain me in details.

Thanks.
chetan_007
 
Posts: 24
Joined: Sun Mar 02, 2008 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: Restart parameter for PROC.

Postby MrSpock » Fri Apr 10, 2009 5:48 pm

There'll probably be lots of editing involved. The JCL, the outer PROC(s), the inner PROC(s) will probably all have to be modified to rerun the job properly.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: Restart parameter for PROC.

Postby dick scherrer » Sat Apr 11, 2009 12:15 am

Hello,

then how to restart it from that step after fixing the problem?
You cannot use RESTART directly to do what you want. As MrSpock mentioned, you probably have a lot of editing to do. You may also have dataset/database considerations.

Depending on the process, you might be ahead to restore everything to the starting point and completely re-run the job (once the problem has been corrected). If this is an actual production problem, i suspect that rerunning everything 2 days later will not work. . .

Suggest you review the process and remove the need to restart inside of any nested procs. Or just leave it as is and do the same amount of editing/preparation to rerun if it happens again. . .

With few exceptions for certain utility functions, sites i've supported to not permit nested procs.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post