can u tell me and give me an example : how to code a
program checkpoint , restart, and tell me when and where i
have to run 2 programs...Thanks



can u tell me and give me an example : how to code a program checkpoint , restart, and tell me whe..

Answer / sampath

Checkpoint Code:

CALL ‘CBLTDLI’
USING FUNC-CODE,
I/O PCB,
I/O AREA,
(CHKPT-DCB)

FUNC-CODE : ‘CHKP’
I-O PCB : Real or dummy
Returns status code
I-O Area: 8 byte CHKPT ID going out should be alphanumeric
in a BMP or MPP
Will return a segment that will permit the system to
shutdown

CHKPT-DCB : This is optional. If specified it goes to OS/VS
check point. It is needed to checkpoint non-IMS resources
or to restart program at other than entry point.

Restart:

Works with extended restart (XRST) call to restart your
program
Can save as many as 7 data areas in your program, which are
restored when your program is restarted
CALL ‘CBLTDLI’ USING FUNC-CODE
I/O PCB, I/O AREA LEN, I/O AREA,
1ST AREA LEN, 1ST AREA,
[…,…, 7TH AREA LEN, 7TH AREA]
Used to restart a program after abnormal termination
Restart from
Specific checkpoint ID
Date/Timestamp (YYDD/HHMMSS)
Last checkpoint
Issue it once as the first call in the program
Call format similar to symbolic checkpoint call

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More IMS Interview Questions

What for procopt is used? List some of them?

3 Answers   TCS, Wipro,


Define dl/i?

0 Answers  


What is the advantage of dynamic generation of acb?

0 Answers  


How can we distinguish between an online and batch program in IMS environment?

14 Answers   Wipro,


An application programmer comes to you and says your DB is no good, they got an II status code on an insert call from IMS, is this a DB problem?

2 Answers  






Explain the advantage of creating the acbs well ahead of time?

0 Answers  


What is a Root?

3 Answers  


What is the return code you get after a successful IMS call?

4 Answers  


What do you know about MFS?

2 Answers  


What is difference between concurrent image copy and online image copy?

1 Answers   EDS,


In the RECON, what always sets the IC NEEDED flag on for a registered DB?

3 Answers  


what is the maximumm length of account information in job card of a jcl?

8 Answers   Accenture,


Categories