Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to Restart the IMS DB program by using XRST call?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
hari.makaraju

New User


Joined: 04 Jul 2006
Posts: 4

PostPosted: Tue Aug 14, 2007 5:12 pm    Post subject: How to Restart the IMS DB program by using XRST call?
Reply with quote

Pls help me how to restart the IMS DB program by using XRST call in IMS. What are the parameters we need to pass in JCL for restarting the IMS DB program?

Any one have an idea about check point restart logic in IMS?
Back to top
View user's profile Send private message
References
Moved: Tue Aug 14, 2007 5:22 pm by mcmillan From Job Vacancies to IMS DB/DC
Devzee

Senior Member


Joined: 20 Jan 2007
Posts: 708
Location: Hollywood

PostPosted: Thu Aug 16, 2007 6:14 am    Post subject:
Reply with quote

Ensure the step is BMP and the program is BMP.
Also in the program make sure your code issues XRST call and decides whether the flow should be in normal or restart mode.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 130
Location: Tadepalligudem

PostPosted: Thu Aug 16, 2007 3:56 pm    Post subject:
Reply with quote

Check this http://ibmmainframes.com/viewtopic.php?t=23255&highlight=
Back to top
View user's profile Send private message
scdinesh
Warnings : 1

New User


Joined: 06 Sep 2006
Posts: 12
Location: chennai

PostPosted: Sat Aug 18, 2007 6:21 pm    Post subject:
Reply with quote

Hi,
Once issuing XRST in the program which will decides the call is normal call or Restart call please give the following parameter in the program

//STEP2 EXEC V01OIMSB,PROG=A1A3CKPT,PSB=HV01PTGW,
// AGN=P54ZAP
// UNITSYS=B,IMSLOGR=,
// RUNO=02,OLDRUNO=01,CHKPID=0621357

give the actual ckpt id in CHKPID parameter once the job abends
.Wen the job abends at first use the sample above , after restarting if it seems to be abend next time ensure and use the actual RUNO and OLDRUNO
Back to top
View user's profile Send private message
rajendermaloth

New User


Joined: 07 Aug 2007
Posts: 1
Location: hyderabad

PostPosted: Mon Aug 20, 2007 3:04 pm    Post subject:
Reply with quote

icon_rolleyes.gif
Back to top
View user's profile Send private message
rosmi joseph

Active User


Joined: 17 Sep 2007
Posts: 51
Location: Kochi

PostPosted: Wed Sep 26, 2007 10:18 am    Post subject:
Reply with quote

Hi,

For checkpoint-restart call, you need to issue a RESTART parameter in the JCL and also a CHKPID parameter. In the normal run do not use RESTART parameter and use CHKPID = ''.
But when you restart, issue RESTART = stepname followed by CHKPID = LAST.

This will help the job to re-start from the last checkpoint. Also tghe XRST call in the program will help in saving all the values that will be needed to continue from that point when the program would have abended.

Thanks.
Back to top
View user's profile Send private message
Bitneuker

IMS Moderator


Joined: 07 Nov 2005
Posts: 1143
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 26, 2007 2:28 pm    Post subject:
Reply with quote

After following the first link in the sticky you might have found this.

Feel free to explore the IBM site for any information you need icon_idea.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1