SQL code -803
SQL code -803
I am getting the SQL code -803 when trying to submit the job so please help me to slove this problem.
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: SQL code -803
jvinoth wrote:I am getting the SQL code -803 when trying to submit the job so please help me to slove this problem.
What problem?
You've shown us no SQL, no JCL, no sysouts -- nothing, in fact, that would lead us to not to believe that you aren't seeing the reflection of a Post-it note on your monitor.
You should know better than to write so worthless a post. If you didn't, you do now. If you can't learn, you won't last long in this business.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
Re: SQL code -803
SQLCODE = -803, ERROR: AN INSERTED OR UPDATED VALUE IS INVALID
BECAUSE INDEX IN INDEX SPACE NPSCXWD1 CONSTRAINS COLUMNS OF THE TABLE
SO NO TWO ROWS CAN CONTAIN DUPLICATE VALUES IN THOSE COLUMNS. RID OF
EXISTING ROW IS X'0030010711.
While inserting into the table i'm getting this error k
BECAUSE INDEX IN INDEX SPACE NPSCXWD1 CONSTRAINS COLUMNS OF THE TABLE
SO NO TWO ROWS CAN CONTAIN DUPLICATE VALUES IN THOSE COLUMNS. RID OF
EXISTING ROW IS X'0030010711.
While inserting into the table i'm getting this error k
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: SQL code -803
So, even with this very limited amount of information, don't you think you are trying to insert/update that would give a duplicate value, when this is not allowed according to an index that exists for the table?
Re: SQL code -803
[cd]
hi
[/cd]
hi
[/cd]
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: SQL code -803
Hello,
Is/was there a reason for the last post
d
Is/was there a reason for the last post

d
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 3105
-
by enrico-sorichetti
View the latest post
Fri Apr 01, 2022 6:00 pm
-
- 5
- 4851
-
by cr22
View the latest post
Tue Aug 15, 2023 1:52 am
-
- 1
- 3844
-
by NicC
View the latest post
Tue Sep 15, 2020 5:37 pm
-
- 4
- 9213
-
by grasshopper
View the latest post
Mon Jul 26, 2021 9:17 am
-
- 1
- 7556
-
by sergeyken
View the latest post
Mon Jul 26, 2021 5:53 am