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 / 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 |
What is the limitation on the no. of levels in a DL/I database?
What is the disadvantage of dynamic generation of acb?
What is a key field in an IMS database?
I have PCB with structure: PCB TYPE=DB, C DBDNAME=EMPCADBD, C KEYLEN=18, C PROCOPT=LS SENSEG NAME=EMPLOYEE, C PARENT=0 SENSEG NAME=COMPDTL, C PARENT=EMPLOYEE SENSEG NAME=BANKDTL, C PARENT=COMPDTL SENSEG NAME=SALDTLS, C PARENT=BANKDTL SENSEG NAME=EDUCDATA, C PARENT=EMPLOYEE SENSEG NAME=EMERDETL, C PARENT=EDUCDATA SENSEG NAME=ADDRESS, C PARENT=EMPLOYEE ************************************************************ *********** PSBGEN PSBNAME=PSBCALDP,LANG=COBOL END Requirement is to Create a report based on Salary brackets. ( Use SSA’s for logic) · It should have CTCGROSS brackets and No of employees o Employee names falling in each bracket Salary < 100,000 No of Employees Employee-Name Level 100,000 < Salary < 300,000 No of Employees Employee-Name Level 300,000 < Salary No of Employees Employee-Name Level
Explain the maximum number of pcbs allowed in a psb?
What are the objectives of dbms in ims?
What are the disadvantages of a hierarchical database?
How to write the PCB code ? if in thic PCB i have 3 PSB ?
What is Hierarchy Chart?
What is dl/i?
What are the two ways in which dl/i interface can be invoked?
What are the processing modes available in ims db?