Undeclared Host Variables [ COBOL/HP-UX Language Reference for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Language Reference for the Series 700 and 800
Undeclared Host Variables
It is permissible to omit the statements:
EXEC SQL BEGIN DECLARE SECTION END-EXEC
and:
EXEC SQL END DECLARE SECTION END-EXEC
from your program. The compiler automatically declares host variables to
the database system if they are used in a SQL statement and were not
previously declared.
The SQLDB2 directive must be specified in order to use this facility.
See your COBOL System Reference for details of compiler directives.
MPE/iX 5.0 Documentation