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...


Write the format of program starting from identification
division for checkpoint restart logic.



Write the format of program starting from identification division for checkpoint restart logic...

Answer / sandeep_1985

WORKING STORAGE DIVISION

01 FUNCTION-CODE.
10 XRST PIC X(4) VALUE 'XRST'.
10 CHKP PIC X(4) VALUE 'CHKP'.

01 IO-AREA PIC X(1000).

01 RESTART-WORKAREA.
05 CHKP-ID.
10 CHKP-PREFIX PIC X(4) VALUE 'TEST'.
10 CHKP-CNTR PIC 9(4).

01 SAVEAREA-LENGTH PIC S9(4) COMP VALUE 13.

01 SAVEAREA.
10 SAVE-KEY PIC X(13).

01 PARM-COUNT PIC S9(4) COMP.

LINKAGE SECTION

01 IO-PCB X(40).

Procedure Division:

For Checkpointing

CALL CBLDLI USING PARM-COUNT,
CHKP,
IO-PCB,
IO-AREA,
CHKP-ID,
SAVEAREA-LENGTH,
SAVEAREA

For Restart

CALL CBLDLI USING PARM-COUNT,
XRST,
IO-PCB,
IO-AREA,
RESTART-WORKAREA,
SAVEAREA-LENGTH,
SAVEAREA

Note : You can have maximum of 15 Save areas declared in
Restart or Checkpointing call.

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More IMS Interview Questions

What is mpp mode?

0 Answers  


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

1 Answers   EDS,


What is meant by batch dl/i mode?

1 Answers  


What does the Change Accum do?

1 Answers  


Which command code can be used for backing up IMS database?

6 Answers  


What is a key field in an IMS database?

5 Answers  


What are common DLI functions?

5 Answers  


Explain the maximum of key fields and search fields allowed in a segment?

0 Answers  


What are the command codes and their purposes?

2 Answers  


Which is the DL/I function used in CICS-IMS program? IBM

3 Answers   IBM,


What is the difference between SIBLINGS and TWINS in IMS-DB database

2 Answers   IBM,


What information does a dbd contain?

0 Answers  


Categories