XC status code in IMS DB.

IBM's Hierarchical DBMS and Transaction Manager (IMS DC).
Previous topicNext topic

Topic Author
Ashit Shah
New Member
Posts: 6
Joined: Thu Apr 24, 2014 12:00 pm

XC status code in IMS DB.

Post by Ashit Shah » Thu Aug 03, 2017 9:05 pm


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: 1376
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: XC status code in IMS DB.

Post by Robert Sample » Thu Aug 03, 2017 9:10 pm

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

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.

Previous topicNext topic

Return to “IMS DB/DC.”