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 are host variables in db2?
What is cloudant database?
What is null indicator in db2?
Give the name of some fields form sqlca.
List down the types of triggers in the db2 database?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is a db2 package?
Mention the different locking levels that are available in db2.
What is the information associated with sysibm.syslinks table?
How can deadlocks be resolved?
Can one database have multiple instances?
List out the buffer pools in db2
What is db2 connect?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is the difference between using bind () and rebind () methods of naming class?