begin declare section

Description

Begins a declare section, which declares host language variables used in an Embedded SQL source file.

Syntax

exec sql begin declare section;
 host_variable_declaration;
 ...
exec sql end declare section;

Parameters

host_variable_declaration

The declaration of one or more host language variables.

Examples

Example 1

exec sql begin declare section; 
     CS_CHAR    name(80); 
     CS_INT     value; 
 exec sql end declare section;

Usage

See also

exec sql include "filename"