1.

How is INCLUDE different from COPY?

Answer»

The main similarity between INCLUDE and COPY is that both HELP in expanding the program variables or codes. The important difference between them is that INCLUDE is used for expanding the code at the time of pre-compilation. WHEREAS the COPY expands the code at compilation time. DB2 pre-compilers won’t be ABLE to PROCESS COPY statements which is why the statements involving the validation of table attributes and DCL statements are embedded USING INCLUDE.



Discussion

No Comment Found