Can SQL statements/queries be included in a copybook?
Answer Posted / ekalavya
The DB2 related things have to be included with the pre
compiler directive
EXEC SQL
INCLUDE XYZ
END-EXEC
But not like COPY XYZ.
This is because COPY statements are expended during
Compilation step, but the DB2 related items should be
available in pre-compilation step inorder to create DBRM
module, which is the input for Binding process into
PLAN/PACKAGE.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I add a column to a table in db2?
What is the use of predicate?
What is the role of schema in the db2 database?
Which command is used to remove all rows from a table?
What is db2 connect?
What is database reorganization?
What is drop table?
How to rename a table in DB2 ?
What is a db2 collection?
What are the contents of a dclmgen?
How can you count the number of rows from a table tab?
What is db2?
When the like statement is used?
How do you pull up a query which was previously saved in qmf?
What is collection in db2 bind?