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
 

 

Test Restart logic for a checkpoint restart IMS-DB program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Test Restart logic for a checkpoint restart IMS-DB program
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

Senior Member


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

PostPosted: Thu Jul 15, 2010 3:48 pm    Post subject:
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

Site Director


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

PostPosted: Thu Jul 15, 2010 8:36 pm    Post subject:
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    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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Need help in building a logic Benchwarmer All Other Mainframe Topics 4 Wed Feb 22, 2017 2:49 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


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