Including Copybooks in Programs

Restriction: This topic applies to Windows environments only.

When including a copybook in your program, make sure that the Compiler can locate the copybook. For more information see the section Copy Libraries in the chapter Using the Compiler in yourUser's Guide.

If a copybook contains embedded SQL or host variable declarations, include it using one of the following three methods: