Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of Restart

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Aug 12, 2008 11:24 pm    Post subject: Usage of Restart
Reply with quote

I generally see in the beginning of Jobs/and Procs, such kind of restart files which are catlogoued and at the end deleted , please let me know why do we code it.



//**************************************************
//** PROTECT RESTART
//**************************************************
//STEP00 EXEC PGM=IEFBR14
//DDPRO1 DD DSN=&PROD..PROTECT.RESTART.MNDD660N,
// DISP=(,CATLG,DELETE),
// SPACE=(TRK,(1)),VOL=REF=(PROD.RSTART)


0 //*********************************************************************
1 //** DELETE RESTART **
2 //*********************************************************************
3 //STEP99 EXEC PGM=IEFBR14,COND=(4,LT)
4 //DDPRO1 DD DSN=&PROD..PROTECT.RESTART.MNDD660N,DISP=(MOD,DELETE)



Thanks
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Aug 12, 2008 11:57 pm    Post subject:
Reply with quote

This is a method to prevent a partially-completed job from being restarted from the first step. In that case, the dataset would already exist and the job would fail.

A successful restart requires step restarting near the point of the error.
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Wed Aug 13, 2008 12:13 am    Post subject: Reply to: Usage of Restart
Reply with quote

Thank you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us