IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

GC error code in IMS


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cdhami

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Mon Feb 09, 2009 4:26 pm
Reply with quote

Hi,
I am having query regarding GC error code of IMS.

My workshop programs have logic of handling this status code as follows.

a. if while insert, GC errror code is encountered, the insert is repeated till the time the return code is spaces or not GC.

question : 1. Will this code have problem during restart processing?. we have restartable jobs and they are not working for specific cases which i am trying to dig out.

pls help if anyone has information about it.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Mon Feb 09, 2009 6:00 pm
Reply with quote

Quote:
a. if while insert, GC errror code is encountered, the insert is repeated till the time the return code is spaces or not GC.


What?????? This is exceptionally WRONG logic.
Back to top
View user's profile Send private message
cdhami

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Wed Feb 11, 2009 9:42 am
Reply with quote

Yes..it works well here...
also my problem is solved. this has no impact on restart.

thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 11, 2009 9:45 am
Reply with quote

Hello,

Quote:
Yes..it works well here...
It may run, but that is not the same as "works well". . . What should happen if it fails for a few hours. . .?
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Feb 11, 2009 5:49 pm
Reply with quote

There are a couple of status code that can be returned on an insert - GC is not one of them. On an insert can have spaces - indicating your insert worked well - you can have an II which indicates that that you are trying to insert a duplicate - you can have a GE indicating that you are trying to do a path insert and one of your higher level segments on the path to the insert was not found. You can program for these conditions. Anything else should be a fatal error.

GC status code is a read status code.
Back to top
View user's profile Send private message
rasitha chandran

New User


Joined: 25 Jan 2008
Posts: 6
Location: chennai

PostPosted: Tue Feb 17, 2009 2:39 pm
Reply with quote

GC can be encountered in Read or Insert. Moreover GC status code would not cause an abnormal termination . The Problem may be due to the checkpoint call being made at a wrong time, crossing a unit of work .
User actions are determined based on the Procopt that is used on the referenced PCB.
Make sure the program performs a commit process before any other call can be done to that PCB.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Feb 17, 2009 6:39 pm
Reply with quote

Are you running IMS version 9 or above?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top