GET HENV
Enables you to use ODBC calls that require you to supply the ODBC environment handle.
Syntax:
>>---EXEC SQL---GET HENV---INTO---:hvar---END-EXEC---->
Parameters:
hvar
A host variable to store the ODBC environment handle. Must be declared as PIC X(4) COMP-5.
Example:
EXEC SQL GET HENV INTO :HENV END-EXEC
Parent topic:
Embedded SQL Statements
Related reference
GET HDBC
GET HENV