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
Can one database have multiple instances?
What is a cursor in programming?
Why do we bind in db2?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
Are views updateable?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What is db2 plan table?
What are the contents of dclgen?
What is ibm db2 used for?
Mention the location where the output received from explain statement is stored.
What is explain in db2?
How do I import data from excel to db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
Highlight all the advantages that are attached to a package.
Before you give the explain statement, what are the prerogatives?