Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Need help in checkpoint/restart logic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
sharad_shanu

New User


Joined: 03 Oct 2006
Posts: 18

PostPosted: Tue May 20, 2008 10:25 am    Post subject: Need help in checkpoint/restart logic
Reply with quote

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
View user's profile Send private message
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3153
Location: italy

PostPosted: Tue May 20, 2008 10:27 am    Post subject: Reply to: Need help in checkpoint/restart logic
Reply with quote

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
View user's profile Send private message
sharad_shanu

New User


Joined: 03 Oct 2006
Posts: 18

PostPosted: Tue May 20, 2008 10:36 am    Post subject: Reply to: Need help in checkpoint/restart logic
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3153
Location: italy

PostPosted: Tue May 20, 2008 10:45 am    Post subject: Reply to: Need help in checkpoint/restart logic
Reply with quote

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
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8722
Location: 221 B Baker St

PostPosted: Tue May 20, 2008 10:57 am    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1