Can we declare cursor in Procudere division or open the
cursor in the Working storage section.
Is there any particular rules in the usage of cursors lifecycle
Answer / omkar panda
yes we can declare cursor in procedure division but we cant
open the cursor in working-storage section as it is an
executabale statement.the lifecycle of cursor is as below
1>declare cursor
2>open cursor
3>fetch cursor
4>close cursor
Is This Answer Correct ? | 20 Yes | 2 No |
For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?
How do I import a csv file into db2?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is concurrency?
How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?
What is dclgen in db2?
What is runstats and reorg in db2?
Why do we bind in db2?
How many databases can be created inside an instance in db2 ?
Which isolation level provides maximum concurrency?
database DSNDB01 means a.db2 catalog b.db2 directory c.BSDS d.active logs answer with reason please
What parameters are used to control the free space in DB2?