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
 

 

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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 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
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


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