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
 

 

How is a cursor closed if the program abends

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
tushar_study

New User


Joined: 01 Feb 2007
Posts: 30
Location: Mumbai

PostPosted: Wed Mar 14, 2007 10:31 am    Post subject: How is a cursor closed if the program abends
Reply with quote

Hi All,

I am using a cursor for a COBOL-DB2 application program.
I am aware of the fact that the program closes the cursor automatically
if it reaches NORMAL TERMINATION

I am using batch updates(COMMIT) with a frequency of 100.I have a query that if my program abends then what will be the status of the cursor.whether it will

1) Be closed by the program? or

2) Will it remain in the open state.If it remains open and I try to execute the program next time then do i need to first close the cursor and reopen it again?

Please help.

Thanks in advance.

regards,
Tushar
Back to top
View user's profile Send private message

vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Wed Mar 14, 2007 3:45 pm    Post subject:
Reply with quote

Muthuvel has a given a good explanation about this. check that here http://ibmmainframes.com/viewtopic.php?t=18926&sid=bc26bbdbde74091b46246cb721939ed8
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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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