i have a db2 variable how do u declare tht into working storage section ?



i have a db2 variable how do u declare tht into working storage section ?..

Answer / guest

the db2 variable can be declared in the working-storage
section by using the DCLGEN of the particular table.
Eg:
EXEC SQL
INCLUDE DCB0XXX
END-EXEC.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More DB2 Interview Questions

What types of tables are there in the db2 database?

0 Answers  


When Can you be sure that a query will return only one row?

4 Answers   IBM,


How to solved 818 error

4 Answers   Keane India Ltd, Wipro,


Q3. How will you fetch duplicate values from a DB2 table?

2 Answers   RBS,


How to resolve the -305 error code in DB2? And also please let me know, how to resolve the db2 error codes.

7 Answers   TCS,


What is the function of buffer manager?

1 Answers  


What is the physical storage length of each of the following DB2 data types: DATE, TIME, TIMESTAMP?

1 Answers   CTS,


Which catalog table stores referential constraints?

1 Answers  


Define sqlca.

0 Answers  


How do you simulate the explain of an embedded sql statement in spufi/qmf?

0 Answers  


Explain various types of locks in db2?

0 Answers  


What is the error code -803 ?

3 Answers  


Categories