Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of a hierarchical database?

1121


What is meant by bmp mode?

1050


Explain acbgen process?

1079


Explain the maximum number of levels allowed in ims db?

3761


Explain the advantage of dynamic generation of acb?

3186


What is the maximum number of pcbs allowed in a psb?

949


What is acbgen process?

1163


What information does a dbd contain?

1010


Define dl/i?

3541


Define pcb?

1069


What is ims (db/dc)?

1021


What is the disadvantage of dynamic generation of acb?

987


What information does a psb contain?

1081


Explain the processing modes available in ims db?

3595


Explain the maximum number of fields allowed per segment and what is the maximum number of fields per database?

1041