Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Handling the status code GG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
psubra001

New User


Joined: 01 Feb 2006
Posts: 15

PostPosted: Wed Feb 01, 2006 3:40 am    Post subject: Handling the status code GG
Reply with quote

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
View user's profile Send private message

gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Wed Feb 01, 2006 10:12 am    Post subject: Re: Handling the status code GG
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us