Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Executing a procedure - Restart that from step 5

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
narsareddy_mukku

New User


Joined: 27 Apr 2005
Posts: 1
Location: Bangalore

PostPosted: Mon May 16, 2005 5:35 pm    Post subject: Executing a procedure - Restart that from step 5
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
References
vinoddevkar

New User


Joined: 13 Apr 2005
Posts: 9
Location: pune

PostPosted: Mon May 16, 2005 5:55 pm    Post subject: Re: executing a procedure
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    Post subject:
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

Moderator


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

PostPosted: Mon May 16, 2005 6:44 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1