SQL Reference Guide
>
SQL Reference Guide
>
SQL Statements
>
INCLUDE
>
INCLUDE Examples
Was this helpful?
INCLUDE Examples
1.
Include the SQLCA in the program.
EXEC SQL INCLUDE SQLCA;
2.
Include global variables.
EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL INCLUDE 'global.var';
EXEC SQL END DECLARE SECTION;
Last modified date: 01/30/2023
This site works best with JavaScript enabled