View previous topic :: View next topic
|
Author |
Message |
sharad_shanu
New User
Joined: 03 Oct 2006 Posts: 40
|
|
|
|
Hi,
I have to add checkpoint/restart logic in a program. But my code does not deal with any file. It simply reads from IMS databases and replaces them.
Please guide me how it can be done.
Regards,
Sharad |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
checkpoint restart is not something that You can simply stick in You programs
based on some forum replies
checkpoint restart - when implemented -
will be a critical component of the overall application architecture
and as such must be carefully planned and analyzed
with the cohoperation of the application design team and the DB support group |
|
Back to top |
|
|
sharad_shanu
New User
Joined: 03 Oct 2006 Posts: 40
|
|
|
|
Well....thanks for the reply!!
But I am more concerned about the information whether we can put this checkpoint/restart logic without any files or not???
Please confirm.
--Sharad |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You will not need to add any file,
but You might ( almost certainly ) need to introduce a new database
to store the relevant ( in cobol terms ) working storage structures
simply put
if You accumulate running totals and counters in working storage
You will need to write them to a checkpointed resource
an rebuild them at restart tusing the checkpointed info
again such implications should be discussed and planned at a higher level |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Checkpoint/restart is not typically designed at the individual program level. There is an overall design/strategy for at least an application, if not the environment.
While your program might not use anything other than database, others will. If your program creates a report, that is also a "file" and needs to be re-synched. . . |
|
Back to top |
|
|
|