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?
Answer Posted / tom
DCLGENs need to be processed by the precompiler. The
precompiler will comment out the SQL and insert the
appropriate COBOL definitions.
If the COPY directive is used, the COBOL compiler will flag
the SQL with syntax errors.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How to find the number of rows in db2 tables?
How is a typical db2 batch pgm executed?
How does cobol compile db2 program?
Why do we need reorg in db2?
Explain packages.
Explain in detail about buffer manager and its functionalities?
How does db2 sample database connect?
What is the role of data manager in the db2 database?
What is db2 stogroup?
How do I import a csv file into db2?
What is an instance in db2?
How do you eliminate duplicate values in db2?
What's The Error Code For Unique Index Voilation?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
How can you do the explain of a dynamic sql statement?