Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what is cursor withhold option?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
kvskris
Currently Banned

New User


Joined: 16 Sep 2006
Posts: 12

PostPosted: Sat Dec 23, 2006 9:31 am    Post subject: what is cursor withhold option?
Reply with quote

hello everybody,


i want to know about what is the use of using the cursor withhold option in
db2.

thanking you all,

kumar
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sat Dec 23, 2006 12:00 pm    Post subject: Re: what is cursor withhold option?
Reply with quote

From the manuals...
Back to top
View user's profile Send private message
Yuvaraj BP

New User


Joined: 12 Oct 2006
Posts: 12
Location: Bangalore

PostPosted: Sun Dec 24, 2006 7:01 am    Post subject: cursor with hold option
Reply with quote

i know only the theoritical part of it and you should bear with me for my length explaination...

for an optimized and safer program to achieve concurrency and consistency of the data base according to my knowledge we liberally need to use Commit work and Rollback work statement accordingly, but while using cursors, if you use any of these statement, the cursor by default gets closed, and by any chance you need the cursor to continue with its activity, you can use the option of OPEN CURSOR WITH HOLD option with which the cursor will not close by default when it encounters commit or roll back statements
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us