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

I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01- JAN-2007 TO 01-JAN-2008?

6 Answers   Perot Systems,


What is copy pending and check pending in db2?

0 Answers  


i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?

0 Answers   TATA,


What is a NULL value? What are the pros and cons of using NULLS?

2 Answers  


where will u check for sqlcode ?

2 Answers   TCS,






I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..

5 Answers   CTS,


What is the use of runstats in db2?

0 Answers  


What is the role of the data page in the db2 database?

0 Answers  


Where can you declare a cursor in a cobol-db2 program?

0 Answers  


What information is contained in a SYSCOPY entry?

2 Answers  


What are the disadvantages of using VARCHAR?

3 Answers  


Can there be more than one cursor open for any program?

0 Answers  


Categories