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
 

 

Explain me about the CHKP call and XRST call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Satheeshkumar

New User


Joined: 20 Feb 2009
Posts: 51
Location: Chennai

PostPosted: Thu Aug 06, 2009 7:33 am    Post subject: Explain me about the CHKP call and XRST call
Reply with quote

Hi,

Could anyone explain me about the CHKP call and XRST call ?
Back to top
View user's profile Send private message

kodeeswaran

New User


Joined: 18 Mar 2008
Posts: 1
Location: Chennai

PostPosted: Tue Aug 18, 2009 8:22 pm    Post subject: CHKP, XRST
Reply with quote

Hi,

First let see about CHKP call have below parameters,

Move 1 to CHECKPOINT-ID

Call 'CBLTDLI' CHKP-FUNCTION,
IO-PCB-MASK,
CHECKPOINT-ID


During Restart, Checkpoint-id will be supplied by operator thru PARM fields , and system will identify in Restart-workarea in XRST call. Along with CHKP call fourth and Fifth parameter we can store segment length and segment, will be used when XRST call is Issued.

Please go thru some document on the same, reply if you have any more doubts.
Thanks,
kodees
Back to top
View user's profile Send private message
viveksurya

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Thu Sep 03, 2009 11:30 am    Post subject:
Reply with quote

CHECKPOINT(CHKP) CALL
A point in the execution of program when, the changes made to the database are considered complete and accurate. Once checkpointed, the changes made are not reversible. A CHKP call causes the database position for a PCB to be reset, apart from releasing all the locks held by program. A CHKP call is of two types:
1) BASIC CHECKPOINT CALL
Can be issued by a BATCH and BMP programs. MPP and Message Driven Fast Path programs must issue only this call. Apart from committing changes made to the data, it also establishes position in the
program from where to Restart, in case the program abnormally terminates
CALL 'CBLTDLI' USING CHKP
I-O PCB MASK
CHECKPOINT-ID
The I-O PCB must be the first PCB listed on the ENTRY statement normally used for data communication programs. Checkpoint-ID names a I-O area that contains an Eightbyte value to identify a checkpoint record written to the log file. During recovery, this eight byte Checkpoint-ID is used by IMS to Restart the program.

2)SYMBOLIC CHECKPOINT CALL
Can be issued by a BATCH and BMP program. Apart from committing changes made to the database, it also establishes position in the program from where to Restart, in case the program abnormally terminates. The program can also save as many as SEVEN PAIRS of data area along with the checkpoint record. These data areas are restored during the program restart. A symbolic checkpoint call works with the Extended Restart (XRST) call to restart the program.
CALL 'CBLTDLI' USING CHKP
I-O PCB MASK
CHECKPOINT-ID
FIRST-AREA-LENGTH
FIRST-IO-AREA
SECOND-AREA-LENGTH
SECOND-IO-AREA
----------
----------
SEVENTH-AREA-LENGTH
SEVENTH-IO-AREA

RESTART CALL (XRST)
The program that issued a symbolic checkpoint CHKP call must issue a restart call (XRST). The XRST call, which is issued only once, does not have to be the first call issued in the program, though it must be issued before any CHKP call. Whether a program is to be restarted or not is determined by DL/I with the help of PARM parameter specified in the EXEC statement for the program in the execution JCL or the CheckPoint ID provided in the Restart Work Area.If a program is to be Restarted, the XRST call indicates that the following checkpoint call is a symbolic checkpoint. Any calls issued before the XRST call are not within the scope of Restart.
CALL 'CBLTDLI' USING XRST
I-O PCB MASK
Longest Segment Length
Restart-Work-Area
First-Area-Length
First-IO-Area
----------
----------
Seventh-Area-Length
Seventh-IO-Area

Request you to refer to the IMS manual for further details.
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 Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Is the explanation correct? XRST,CHKP Martylin IMS DB/DC 1 Wed Mar 15, 2017 9:26 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm


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