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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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