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 |
How to select the duplicate rows from a table?
Can i insert bulk records into a db2 table using qmf of spufi only............!!!
Why do we need to create an alias if we can directly use the table name? What are the benefits of referring a table name by its alias? Also, when should we go for alias and when for synonyms?
what is consistency token
My DB2 program first read the data from a file and then it look into a table with the data it got from the file.If we did not bind the program , should the file read before SQL execution be success??
Can a array declared with an index be displayed(readable format) in spool?
how to resolve -805. give clear explination for that
What is a LIKE table and how is it created?
What are db2 tables?
What is dynamic SQL?
What is normalization and what are the five normal forms?
Is it mandatory to use DCLGEN? If not, why would you use it at all?