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
What is coalesce in db2?
Where can you declare a cursor in a cobol-db2 program?
How will you return the number of records in table?
What is a cursor in programming?
Explain correlated sub-queries.
How can you count the number of rows from a table tab?
Why do chiropractors use drop table?
How do you stop a db2 database in linux?
What is dclgen in db2?
What are bind parameters in db2?
What are union and union all?
What is database alias db2?
How to rename a table in DB2 ?
Is it possible using max on a char column?
What are db2 objects?