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 |
Who uses db2?
How to access db2 tables in mainframe?
What is a result table?
can we view the access paths created by dbrm ? how ? thx
Can a Db2 table data be retrived through JCL?
How to resolve -502 sql code in DB2?
What is alias in db2?
could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
How do you select a row using indexes in db2?
If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?
What is a cursor and what is its function?
Can we able to find all the Table names under a Particular Plan?