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

Db2 cursor open error


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

New User


Joined: 22 Oct 2005
Posts: 3
Location: hyderabad

PostPosted: Sun Nov 06, 2005 9:12 am
Reply with quote

i was getting cursor open error 80

can any body solve it.

<<<E-Mail ID Removed>>> Read Forum Rules.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Nov 07, 2005 9:02 pm
Reply with quote

What is the error message you are getting and what is the SQL Code for that query ?

Is this error while OPENING cursor or FETCHING or CLOSING.

Regards,

Priyesh.
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Tue Nov 08, 2005 11:01 am
Reply with quote

there is no sqlcode 80 exists...post the correct code....

Thanks,
Kumar.
Back to top
View user's profile Send private message
vijaybhaskarnvn

New User


Joined: 22 Oct 2005
Posts: 3
Location: hyderabad

PostPosted: Tue Nov 08, 2005 11:35 am
Reply with quote

Hai this is bhaskar.

I was updating the table through cursor.

there i declared

execsql
open cursor
end-exec.
If sqlcode < 0
display "cursor open error", sqlcode
end-if.

i got code cursor open error 000000000080

in this way i got the error

plz kindly replyme
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Tue Nov 08, 2005 1:18 pm
Reply with quote

Hi Bhaskar,
I think the Sqlcode u got is in hexadecimal notation..Probably it is 80H which probably means -805. This problem is related to Bind. Pls bind the the pgm to the proper plan.
Hope this helps.If not pls give me the details....

Thanks,
Nikhil .S.
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 Calling an Open C library function in... CICS 1
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top