Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Exiting the Program with out closing the Cursor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 106
Location: India

PostPosted: Wed Sep 20, 2006 8:40 pm    Post subject: Exiting the Program with out closing the Cursor
Reply with quote

Will the cursor be automatically closed if we exit the program with out closing it?..or will it cause any impacts?
Back to top
View user's profile Send private message
References
PostPosted: Wed Sep 20, 2006 8:40 pm    Post subject: Re: Exiting the Program with out closing the Cursor Reply with quote

raghunathns

Active User


Joined: 08 Dec 2005
Posts: 130
Location: rochester

PostPosted: Wed Sep 20, 2006 8:58 pm    Post subject: Exiting the Program with out closing the Cursor
Reply with quote

no problem. it will close automatically at the end of the program.
Back to top
View user's profile Send private message
DavidatK

Senior Member


Joined: 22 Nov 2005
Posts: 717
Location: Troy, Michigan USA

PostPosted: Thu Sep 21, 2006 1:47 am    Post subject: Re: Exiting the Program with out closing the Cursor
Reply with quote

However, good programming practice dictates that all open files/tables should be explicitly closed before exiting the program.

icon_smile.gif

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1