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

How do you write a PSB code ?

3 Answers  


What is Hierarchy Chart?

1 Answers   IBM,


What are the path calls in imsdb?

1 Answers  


What are the parameters used in CBLTDLI call?

2 Answers   CSC,


What is a Hierarchy path?

4 Answers  






What are the advantages and disadvantages of a hierarchical database?

0 Answers  


What are all the possible inputs to the DB recovery utility?

1 Answers  


Explain ims software environment?

0 Answers  


What is the need of a secondary index in IMS?

0 Answers  


What is dbms in ims?

0 Answers  


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

8 Answers   Accenture,


What is dbd?

0 Answers  


Categories