1 – BEGIN_DECLARE_SECTION
Delimits the beginning of a host language variable declaration.
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 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
Specifies a variable declaration embedded within a program.
See the User_Supplied_Names HELP topic for more information on
host language variable definitions.