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
 

 

CICS background transaction is getting abended with -803

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Kevin Dcosta

New User


Joined: 01 Jan 2008
Posts: 35
Location: Hyderabad

PostPosted: Thu Jan 17, 2008 4:00 pm    Post subject: CICS background transaction is getting abended with -803
Reply with quote

A cics background transaction is getting abended with -803 but when i check for the record in the table i did not find it . is there something more that i need to look at . Please Help.....
Back to top
View user's profile Send private message

abhishekmdwivedi

New User


Joined: 22 Aug 2006
Posts: 95
Location: india

PostPosted: Thu Jan 17, 2008 4:05 pm    Post subject: Reply to: -803 Query
Reply with quote

Here's the description as per manuals.

-803

AN INSERTED OR UPDATED VALUE IS INVALID BECAUSE THE INDEX index-name CONSTRAINS COLUMNS OF THE TABLE SUCH THAT NO TWO ROWS CAN CONTAIN DUPLICATE VALUES IN THOSE COLUMNS RID OF EXISTINGF ROW IS X’rid’.

Need to look up for a value which is creating duplicate records within the table.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jan 17, 2008 4:10 pm    Post subject:
Reply with quote

well, don't fool yourself, db2 does not issue these erroneously. there is a duplicate attmpt at insert.

either use a debugger to trace or use some kind of audit trail (displays) to follow your logic. you might be in a loop, who knows?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jan 17, 2008 6:25 pm    Post subject:
Reply with quote

As Dick said, a loop is a good starting point. If you aren't committing your records, your program could be doing an INSERT using that key and if it goes uncommitted you could be attempting another INSERT using the same key, but due to the abend without a commit, all the data is rolled back off the table so when you go to look for it, it is gone.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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