Can SQL statements/queries be included in a copybook?
Answer Posted / tom
Yes, if the copybook is included with the precompiler
directive EXEC SQL INCLUDE. No, if one attempts to include
the copybook with a COBOL COPY directive.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What are the different types of base tables?
What is ibm db2 client?
What is runstats and reorg in db2?
What does reorg do in db2?
What are the contents of dclgen?
What is meant by explain?
What is schema in db2?
What is a bind card?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
How can you classify the locks in db2?
What is host variable in db2 cobol?
What is iseries database?
When do you specify the isolation level?