Previous Topic Next topic Print topic


COPY

Causes the precompiler to expand copybooks included in your source code using standard COBOL COPY statements. Allows EXEC SQL statements and use of host variables to be defined within a COPY statement.

Syntax:

[NO]COPY

Parameters:

None

Properties:

Default: NOCOPY

Comments:

This directive must be set if you want to use host variables with a COPY statement. Care should be taken since this may cause compilation errors when porting code to the mainframe unless your installation has software that expands copybooks before passing source to the DB2 precompiler.

Previous Topic Next topic Print topic