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

Cursor related query


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

New User


Joined: 10 Nov 2009
Posts: 4
Location: India

PostPosted: Mon Nov 16, 2009 3:08 pm
Reply with quote

Hi!
can anybody tell what will happen if in cobol+db2 program cursor is not closed.Program will abend or not for this.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Mon Nov 16, 2009 3:09 pm
Reply with quote

what happened when You tried ??
Back to top
View user's profile Send private message
naveen.m

New User


Joined: 02 Nov 2007
Posts: 9
Location: BENGALURU

PostPosted: Mon Nov 16, 2009 4:26 pm
Reply with quote

Resources used by the cursor will be held up if the cursor is not closed. this will use the memory. Until the program is ended.

its a best practise to always close the cursor
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 Query to get the count of Unique ... DB2 2
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 1
No new posts Inserting into table while open selec... DB2 1
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:


Back to Top