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 / ajay ahuja
DCLGENs are processed by Precompiler.
So instead of using COPY "DCLGEN Menber", it is required to
use INCLUDE "DCLGEN member".
This is because INCLUDE copybooks are being expanded during
Precompilation and COPY "Member" will be expanded during
compilation.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is an instance in db2?
Which component is responsible for processing sql statements and selecting access paths?
What is clone table?
What is runstats utility in db2?
List down the data types in the db2 database.
What is innodb buffer pool?
What is the purpose of rollback and commit?
How do we specify index to include or not during bind process.
How many databases can be created inside an instance in db2 ?
What is page size in db2?
What is a Foreign Key?
Explain the benefits you can get from mainframe connect?
What is image copy in db2?
What r the comman abends in db2, jcl and cobol???????
What is the use of dclgen in db2?