View previous topic :: View next topic
|
Author |
Message |
psubra001
New User
Joined: 01 Feb 2006 Posts: 15
|
|
|
|
I have an application program(cobol) that runs in DL/I mode with the following processing
Step A: Reads sequential file for the processing record
Step B: Reads (only read) an IMS-DB for validation of data
Step C: Updates two VSAM files
At step B, I get the status code GG (Concurrent update/Invalid Pointer; I've used the PROCOPT=GOT). In this situation the program is forced to abend. Now I restore the VSAM files and start this step all over again.
Is it possible for me to implement checkpoint/restart logic in this code?
Is it possible to give these two vsam files as GSAM in the PCB?
If it is possible, can I have this job running in DL/I mode itself? |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
psubra001 wrote: |
I have an application program(cobol) that runs in DL/I mode with the following processing
Step A: Reads sequential file for the processing record
Step B: Reads (only read) an IMS-DB for validation of data
Step C: Updates two VSAM files
At step B, I get the status code GG (Concurrent update/Invalid Pointer; I've used the PROCOPT=GOT). In this situation the program is forced to abend. Now I restore the VSAM files and start this step all over again.
Is it possible for me to implement checkpoint/restart logic in this code?
Is it possible to give these two vsam files as GSAM in the PCB?
If it is possible, can I have this job running in DL/I mode itself? |
hi psubra001,
i think you need to change the PROCPOT to A in your PSB. This can fix your GG status code.
yes, it is possible to implement ckpt and xrst calls in the program.
you can specify these VSAM files as GSAM files in your PSB as mentioning them as TYPE=GSAM in the PCB. For more info, please refers manuals. |
|
Back to top |
|
|
|