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
 

 

How to Restart the IMS DB program by using XRST call?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
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

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
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: 121
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: 23
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

New User


Joined: 17 Sep 2007
Posts: 68
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

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
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
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 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
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm


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