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

Check point and Restart functionality


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
RamsIBM

New User


Joined: 08 Jan 2007
Posts: 53
Location: Chennai

PostPosted: Sun Nov 02, 2008 11:23 pm
Reply with quote

Hi All,

There is a requirement in my project. I am working on batch program, it reads value from PS and writes/updates record in DB2 table. When updating the program should have check point and restart functionality.

Consider the following situation:

Suppose if an error occurs after updating the 5th record, then the program should start updting from 6th record not from the first record.

Here the batch program requires the checkpoint and restart functionality. So please advise me with some logic
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 02, 2008 11:50 pm
Reply with quote

Hello,

Checkpoint/restart is not implememnted at the program level. . . It is an application or system-wide consideration.

There is no simple/common logic that you can just stick into your code.

In addition to backing out incomplete units of work, all sequential processing also needs to be syncronized for the restart. Any reports, output files, accumulators, etc must be brought back in line during the restart.

Due to exponentially faster processors and dasd, many (becoming most) places have discontinued the use of this. Another reason this is being discontinued for new work is the development expense of incorporating proper restart/recovery into a system.

How are other applicatons running on your system handling restart/recovery? If any systems already do this, you should probably follow the method they use.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Point and Shoot )PTNS TSO/ISPF 0
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
Search our Forums:

Back to Top