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
 

 

Need help in checkpoint/restart logic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
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: 40

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: 10211
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

Site Director


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

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm
No new posts Wildcard logic in COBOL dudenithy COBOL Programming 13 Thu Sep 01, 2016 7:36 pm
No new posts Sort Logic to extract data scorp_rahul23 DFSORT/ICETOOL 13 Tue Mar 01, 2016 1:22 am
No new posts Need a logic to validate the data in ... sandeep kumar302 COBOL Programming 17 Mon Feb 01, 2016 3:30 pm
No new posts Tricky sort logic required pgopi92 DFSORT/ICETOOL 3 Mon Jan 25, 2016 3:29 pm


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