Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us