how to handle checkpoint and restart in IMS



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

how to handle checkpoint and restart in IMS

Postby Devu » Tue Dec 08, 2009 11:39 pm

Hi,

Please let me know how to handle checkpoint and restart concept in IMS program. Say for example my program is reading the file which has the 1000 records and for each record read hitting the IMS database and if record found it needs to update the IMS database. Please help me out as how i issue the checkpoint and how will i restart if my program abends at 901th recrod.

Thanks
Dev
Devu
 
Posts: 3
Joined: Tue Dec 08, 2009 11:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to handle checkpoint and restart in IMS

Postby dick scherrer » Wed Dec 09, 2009 12:18 am

Hello and welcome to the forum,

Checkpoint/restart is not really a good topic for a forum. . .

C/R is not something to be considered for one program. C/R is implemented following an existing method. If there is not one already in use, one needs to be designed and then this program could participate.

Due to the speed of the new processors and dasd arrays, most places no longer implement c/r. If is more productive to simply rerun fro the beginning.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how to handle checkpoint and restart in IMS

Postby dhs » Fri Oct 15, 2010 12:03 am

Issuing checkpoints to an extent will really be dependent on the environment. If you are running batch in a non-sharing environment, the answer will be very different than if you are a long running job in a shared environment or if you are running as a bmp. Note that after a checkpoint, you lose current positioning.
dhs
 
Posts: 9
Joined: Thu Oct 14, 2010 10:43 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post