Page 1 of 1

XC status code in IMS DB.

Posted: Thu Aug 03, 2017 9:05 pm
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.

Re: XC status code in IMS DB.

Posted: Thu Aug 03, 2017 9:10 pm
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.