Page 1 of 1

Restart parameter for PROC.

PostPosted: Wed Apr 08, 2009 10:47 pm
by chetan_007
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.

Re: Restart parameter for PROC.

PostPosted: Thu Apr 09, 2009 2:17 am
by dick scherrer
Hello,

Suggest you rethink the process. . .

You cannot restart inside a nested proc.

Re: Restart parameter for PROC.

PostPosted: Fri Apr 10, 2009 3:01 pm
by chetan_007
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.

Re: Restart parameter for PROC.

PostPosted: Fri Apr 10, 2009 5:48 pm
by MrSpock
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.

Re: Restart parameter for PROC.

PostPosted: Sat Apr 11, 2009 12:15 am
by dick scherrer
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.