View previous topic :: View next topic
|
Author |
Message |
anshul_gugnani
New User
Joined: 02 Nov 2009 Posts: 73 Location: Mumbai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|