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


In cursor program-1 can we create another cursor program-2
inside the cursor program-1.If yes how/no why ?

Answers were Sorted based on User's Feedback



In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/..

Answer / lvr_rams

yes it can possible. Multibull cursor we can used.

Is This Answer Correct ?    0 Yes 0 No

In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/..

Answer / truclu

yu can create multiple cursor but with hold...because if
you don't want to lose your row...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB2 Interview Questions

how to fetch multiple records without using cursor

14 Answers   HCL,


Which catalog table stores referential constraints?

1 Answers  


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

0 Answers  


How many Buffer pools are there in DB2 and what are they?

1 Answers   IBM,


Can you Average the Characters ?

3 Answers  


Which catalog tables contain authorization information?

1 Answers  


Describe major components of db2?

0 Answers  


How many clustering indexes can be defined for a table?

2 Answers  


What is meant by dclgen?

0 Answers  


What is rct?

0 Answers  


Hi All, In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

1 Answers  


When is the skeleton cursor table created?

1 Answers  


Categories