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

Restarting a proc from the place where it had failed


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashikrim

New User


Joined: 18 Aug 2006
Posts: 12

PostPosted: Thu Aug 31, 2006 4:27 pm
Reply with quote

Hi,

If I have a job with 3 steps each calling the same PROC. My 1st step executed successfully but my 2nd step failed. Now I need to restart my execution of the job from the place where it had failed. Plz provide me the syntax for this.

Rgds,
Rima.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Aug 31, 2006 5:20 pm
Reply with quote

See this post.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Aug 31, 2006 6:32 pm
Reply with quote

hi,
In case you don't have any temporary datasets in the STEP 1 you can directly use RESTART command in the JOB card.

Syntax is RESTART=procstep.programstepname.

Eg: RESTART=PROC1.STEP01

If you don't have any proc, Directly you can issue
RESTART=programstepname

Eg: RESTART=STEP01


~Vamsi
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts How to remove one row and can be adde... All Other Mainframe Topics 2
No new posts DataSet member creation failed with B... Java & MQSeries 15
No new posts Very Large Sort failed - Seeking reco... DFSORT/ICETOOL 7
No new posts Proc print in Mainframe All Other Mainframe Topics 4
Search our Forums:

Back to Top