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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


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