Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
GC error code in IMS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: GC error code in IMS
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Feb 11, 2009 9:45 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us