Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what happens if we dont close cursor in db2-cobol pgm?

Answer Posted / vaid

i think, if we dont close a cursor there will be no problem.

since once the program ends all the database
transaciton/connections are terminated and also commit is
implicitly executed.. so the cursors will be closed.

and all resources held by program will be released.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A table has two indexes defined. Which one will be used by the SEARCH?

1230


What are different data types in cobol?

1227


Why would you use find and get rather than to obtain?

1122


How do you get the data to code the BMS macro?

1920


What is report-item in COBOL?

1094


How do you reference the fixed block file formats from cobol programs

1155


What is the use of intialize verb?

1179


) how do u code after getting data?

2074


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1080


What is length is cobol?

1058


What is the usage of comp fields in cobol?

1130


how do you reference the rrds file formats from cobol programs

1494


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1199


Why occurs cannot be used in 01 level in COBOL?

1122


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1602