1 – BEGIN_DECLARE_SECTION
Delimits the beginning of host language variable declarations.
2 – END_DECLARE_SECTION
Delimits the end of host language variable declarations.
3 – ;_(semicolon)
Terminates the BEGIN DECLARE and END DECLARE statements. Which terminator you should use depends on the language in which you are embedding the host language variable. The following table shows which terminator to use. Required SQL Terminator END BEGIN DECLARE DECLARE Host Language Statement Statement COBOL END-EXEC END-EXEC FORTRAN None required None required Ada, C, Pascal, or ; (semicolon) ; (semi- PL/I colon)
4 – host_language_variable_declaration
A variable declaration embedded in a program. See the Parameters HELP topic for full details on host language variable definitions.