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.
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
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.
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
Joined: 23 Nov 2006 Posts: 8722 Location: 221 B Baker St
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. . .