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

Test Restart logic for a checkpoint restart IMS-DB program


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

New User


Joined: 02 Nov 2009
Posts: 73
Location: Mumbai

PostPosted: Thu Jul 15, 2010 2:21 pm
Reply with quote

Hi,

It is first time I am testing checkpoint restart IMS-DB program.

Could anyone tell me what are the ways to test restart logic for a chekpoint restart IMS-DB program.

I mean other than cancelling the job how can I make my program abend and then test the restart logic. Please help.

Thanks,
Anshul.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 15, 2010 3:48 pm
Reply with quote

One way is to run it through the xpeditor and then change the "values of variables" there, while the "xpeditor is executing your program". Change the value of varibale to some value which will make it to abend.

Other way is, create a test data of such a nature which will ensure an abend - make sure that data is constructed such a way that you get at least one chcek-point.

Also, check-point logics are specific to shops and for an analyst programer the main concern is "check-point frequency". Usually, there are "screens" to alter these frequencies in "test-region" - so if you are working with small-set of test data, you might like to alter the check-point frequency in order to test the logic.
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: Thu Jul 15, 2010 8:36 pm
Reply with quote

Hello,

Quote:
Could anyone tell me what are the ways to test restart logic for a chekpoint restart IMS-DB program.
Not really. . . Systems that support/allow checkpoint-restart have a standard process in plsce. Each developer should not create their own.

As Anuj mentioned, there are many ways to force an abend.
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top