IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Explain me about the CHKP call and XRST call


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top