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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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