IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How To Resolve -219 SQLCODE Error


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Raphael Bacay

New User


Joined: 04 May 2007
Posts: 58
Location: Manila, Philippines

PostPosted: Thu Jul 26, 2007 8:06 am
Reply with quote

Hello,

I am binding a group of programs but I come up with a -219 SQLCODE.
References say that "THE EXPLANATION TABLE IS NOT AVAILABLE".
I am not aware of this 'explanation table' and where to get it. Required response says to creat one but I don't know how it looks like.
I never encountered this error before so I would like to ask your expert advice on how to resolve this -219 SQLCODE error.



Regards.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Thu Jul 26, 2007 10:13 am
Reply with quote

Hi,

Check the Bind parametes.
Check if EXPLAIN(YES)

Remove this and bind again, I feel you will not get this error.

if possible do post Bind step
Back to top
View user's profile Send private message
Raphael Bacay

New User


Joined: 04 May 2007
Posts: 58
Location: Manila, Philippines

PostPosted: Thu Jul 26, 2007 12:02 pm
Reply with quote

I tried this but it did not work. I think it has got something to do with the db region I am working with. I am still investigating the cause of this problem.
Back to top
View user's profile Send private message
vicky10001
Warnings : 1

Active User


Joined: 13 Jul 2005
Posts: 136

PostPosted: Thu Jul 26, 2007 12:10 pm
Reply with quote

DB2 attempted a positioned UPDATE or DELETE was attempted on a row that no longer matches its previous condition. The column values in the result table row do not match the current values in the base table row because the row was updated between the time it was inserted into the result table and the positioned update or delete was executed. cursor-name Name of the cursor used for the positioned update or delete.
Back to top
View user's profile Send private message
Raphael Bacay

New User


Joined: 04 May 2007
Posts: 58
Location: Manila, Philippines

PostPosted: Wed Aug 01, 2007 4:10 pm
Reply with quote

I got the cause of it. My mainframe id hasn't got update, insert and delete access in db region so I cannot bind properly. Thanks for all the advice.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Need help to resolve a hard edit COBOL Programming 8
Search our Forums:

Back to Top