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
 

 

Db2 cursor open error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Db2 cursor open error
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: 1452
Location: Chicago, IL

PostPosted: Mon Nov 07, 2005 9:02 pm    Post subject: Re: Db2 cursor open error
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    Post subject: Re: Db2 cursor open error
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    Post subject: Re: Db2 cursor open error
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    Post subject: Re: Db2 cursor open error
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    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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


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