MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding the cursor

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
INIYA
Beginner


Joined: 02 Mar 2007
Posts: 7
Topics: 4

PostPosted: Thu Mar 22, 2007 7:46 am    Post subject: Regarding the cursor Reply with quote

How we know , whether the cursor is open or close?

Cheers,
Iniya
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Mar 22, 2007 7:57 am    Post subject: Reply with quote

INIYA,

Is this hidden ajenda question ? Can't you just look up if your pgm has 'OPEN cursor' statement? During runtime if you try to fetch the cursor which is not open then it would result in a -501 error sqlcode. Check for sqlcodes -501 thru -511 for all cursor related errors

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group