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

Need help in checkpoint/restart logic


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sharad_shanu

New User


Joined: 03 Oct 2006
Posts: 40

PostPosted: Tue May 20, 2008 10:25 am
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
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 20, 2008 10:27 am
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: 40

PostPosted: Tue May 20, 2008 10:36 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 20, 2008 10:45 am
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

Moderator Emeritus


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

PostPosted: Tue May 20, 2008 10:57 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
This topic is locked: you cannot edit posts or make replies. Need assistance in job scheduling logic. Mainframe Interview Questions 2
No new posts Rexx Logic error while adding seperat... CLIST & REXX 3
No new posts PL/1 Callback address logic in z/OS C... PL/I & Assembler 1
No new posts IMS Restart Failure IMS DB/DC 4
Search our Forums:

Back to Top