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

Exiting the Program with out closing the Cursor


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

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Wed Sep 20, 2006 8:40 pm
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
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Wed Sep 20, 2006 8:58 pm
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

Active Member


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

PostPosted: Thu Sep 21, 2006 1:47 am
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
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 After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Error to invoke MPP program through B... IMS DB/DC 4
No new posts Inserting into table while open selec... DB2 1
Search our Forums:


Back to Top