skip to main content

Embedded SQL Statements : INCLUDE

INCLUDE
The INCLUDE statement includes a file in the source code.
General format
EXEC SQL
  INCLUDE File-Name
Syntax rules
1.
File-Name is the name of a regular disk file. If the name contains a period (.), it must be enclosed in double quotes.
General rules
1.
2.
3.
If there is more than one File-Name, only the first one is used, the others are considered comments.
Examples
Include isCOBOL SQLCA copybook
exec sql include sqlca end-exec.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left