MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do you issue a Check point ID for restart in IMS?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
chittu
Beginner


Joined: 27 Dec 2002
Posts: 4
Topics: 2
Location: India

PostPosted: Fri Dec 27, 2002 1:18 am    Post subject: How do you issue a Check point ID for restart in IMS? Reply with quote

I woull appreciate if somebody lets me know how to determine the CKPTID for a restart in IMS.

Thanks
Chittu
Back to top
View user's profile Send private message Yahoo Messenger
Maneesh Chawla
Beginner


Joined: 13 Dec 2002
Posts: 8
Topics: 2

PostPosted: Fri Dec 27, 2002 4:03 am    Post subject: Reply with quote

The checkpoint Id's can be traced in the job log. Take the latest entry for the checkpoint in job log and restart your job.
_________________
Maneesh Chawla


***If at first you don't succeed, destroy all evidence that you tried***
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Dec 27, 2002 4:30 am    Post subject: Reply with quote

Chittu,

You can restart the program from a symbolic checkpoint taken during a previous execution of the program. The checkpoint used to perform the restart can be identified by entering the checkpoint ID either in the I/O area pointed to by the XRST call (left-most justified, with the rest of the area containing blanks) or by specifying the ID in the CKPTID= field of the PARM= parameter on the EXEC statement in your program's JCL. (If you supply both, IMS uses the CKPTID= value specified in the parm field of the EXEC statement.)

The ID specified can be:


  • A 1 to 8-character extended checkpoint ID

  • A 14-character "time stamp" ID from message DFS0540I, where:

  • IIII is the region ID

  • DDD is the day of the year

  • HHMMSST is the time in hours, minutes, seconds, and tenth of a second


  • The 4-character constant "LAST". (BMPs only: this indicates to IMS that the last completed checkpoint issued by the BMP will be used for restarting the program)


The system message DFS0540I supplies the checkpoint ID and the time stamp.The system message DFS682I supplies the checkpoint ID of the last completed checkpoint which can be used to restart a batch program or batch message processing program (BMP) that was abnormally terminated.

If the program being restarted is in either a batch region or a BMP region, and the checkpoint log records no longer reside on the Online Log Data Set (OLDS) or System Log Data Set (SLDS), the //IMSLOGR DD defining the log data set must be supplied in the JCL for the BATCH or BMP region. IMS reads these data sets and searches for the checkpoint records with the ID that was specified.

At completion of the XRST call the I/O area always contains the 8-character checkpoint ID used for the restart. An exception exists when the checkpoint ID is equal to 8 blank characters; the I/O area then contains a 14-character time stamp (IIIIDDDHHMMSST).

Also check the status code in the I/O PCB. The only successful status code for an XRST call are blanks.


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group