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
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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