(Contents)(Next)

Include Statements

Include statements are generally used to insert text into a source program at precompilation time. This text will be included in place of the include statement.

Within the source texts of the applications, include statements are allowed at the following positions:

- SQLCAs can be at any place where data definitions are permitted;

- 'include <filename>' can be at any place where the program text to be inserted is permitted. The source text is located in the file to be specified. It must not contain any 'exec sql include <filename>' statement.

See also:

exec sql include sqlca

exec sql include <filename>


(Contents)(Next)