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 does db2 plan contain?
Can you tell me how can you find out the # of rows updated after an update statement?
Explain the function of data manager.
Outputs of explain are with matchcols = 0. What does this signify?
Define data page.
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is an instance database?
What are foreign keys in db2?
What is the default page size of buffer pools?
Is db2 a mainframe database?
What is database alias db2?
What is rebind in db2?
Where can you declare a cursor in a cobol-db2 program?
Why do we need reorg in db2?
What is commit in db2?