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

Usage of Restart


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts STEM usage in REXX CLIST & REXX 14
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts Usage of BINSEARCH PL/I PL/I & Assembler 1
Search our Forums:

Back to Top