What are the contents of a DCLGEN?
Answers were Sorted based on User's Feedback
Answer / s
DCLGEN reads the catalog tables and generates DECLARE TABLE
statements and host language data structures that are used
to receive the data. These DECLARE TABLE statements are
used by the precompiler to check the syntax of the SQL
statement.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ramesh naidu
It contains the db2 equalent cobol variables called host variables
| Is This Answer Correct ? | 3 Yes | 0 No |
How to execute stored procedures?
What is the function of logging in the db2 database?
we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?
On the create tablespace, what does the CLOSE parameter do?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?
I have two tables A and B. Both tables are connected with SSN number as foreign key. I want to retrieve a column data from B table. How will you write a query?
What is the purpose of the SDSNLOAD dataset in the STEPLIB while running DB2 programs?
What does CURRENTDATA option in bind indicate
How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?
What is an inner join, and an outer join ?