IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executing a procedure - Restart that from step 5


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
narsareddy_mukku

New User


Joined: 27 Apr 2005
Posts: 1
Location: Bangalore

PostPosted: Mon May 16, 2005 5:35 pm
Reply with quote

If you are executing a procedure which has 10 steps in it and you want restart that from step 5 (proc step)

And in the 2nd step of the job you have to execute the proc from the first step, how can you do this?

Regards
Mukku
Back to top
View user's profile Send private message
vinoddevkar

New User


Joined: 13 Apr 2005
Posts: 9
Location: pune

PostPosted: Mon May 16, 2005 5:55 pm
Reply with quote

Hi,

I feel if u want to restart from step10 of the proc...it is not possible....Since while invoking the procedure by default first step will execute...later we can give condition codes and restart from whereever we want....Check it out once
Back to top
View user's profile Send private message
nave

New User


Joined: 16 May 2005
Posts: 10
Location: bangalore,india

PostPosted: Mon May 16, 2005 6:40 pm
Reply with quote

ghi mukku
we restart it by procname.stepname in the the invoke itself
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon May 16, 2005 6:44 pm
Reply with quote

You can restart your job from a particular step of a proc with RESTART=STEPNAME.STEPPROC
i.e.

RESTART=STEP5.STPPROC

//STPPROC EXEC MYPROC
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top