XC status code in IMS DB.

RDBMS from IBM and IBM's Hierarchical DBMS and Transaction Manager (IMS DC).
Post Reply
Ashit Shah
New Member
Posts: 7
Joined: Thu Apr 24, 2014 12:00 pm

XC status code in IMS DB.

Post by Ashit Shah »

Hi,

I'm getting IMS return code XC. I get it while I insert a record in new IMS DB. Can anyone please suggest me how to resolve this? Not getting much clue on this.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: XC status code in IMS DB.

Post by Robert Sample »

Google is your friend. I Googled ims xc return code and got back about 13,400 results including this one:
XC
Explanation

The program inserted a message that has some bits in the Z1 field set. The Z1 field is reserved for IMS™.
Programmer response

Correct the program to prevent it from setting those bits.
This could be something like not setting lengths correctly, or it could be your code overflowing a table -- you'll need to check your program to see what's going on.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM DB2 and IMS DB/DC”