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...

I have a Main Program which is calling Sub-Program which is
a DB2 pgm. What will happen if I am not closing the cursor
used in the Sub-program? Please advise..

Answer Posted / abirami

If you do not close the cursor it might give warnign
message, But it will not fail, When you try to open next
time it will give error that cursor is already opened, and
you are tryign to open the same

Is This Answer Correct ?    0 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2492


Have you used comp and comp-3 in your project? And how?

2520


Write the code implementing the perform … varying.

1121


What is comp-1 and comp-2?

1278


what are decleratives in cobol?

2305


What is static and dynamic call in cobol?

1115


What are the different rules for performing sort operation?

1278


What is the difference between structured cobol programming and object alternativelyiented cobol?

1297


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1384


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3277


How do you reference the following file formats from cobol programs?

1202


What are the different rules of SORT operation?

1202


What do you understand by psb and acb?

1178


how to access the file from prodution from changeman tool and to submit a file to production

7625


Mention the guidelines to write a structured cobol program?

1140