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
 

 

Check point and Restart functionality

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Check point and Restart functionality
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

Site Director


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

PostPosted: Sun Nov 02, 2008 11:50 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm


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