Functions for setting and retrieving environment attributes
To specify a new value for an environment attribute, call SQLSetEnvAttr()
.
To obtain the current value of an environment attribute, call SQLGetEnvAttr()
.
Attributes on an environment handle affect the behavior of all Db2 ODBC functions within that environment. You must set environment attributes before you allocate a connection handle. Because Db2 ODBC allows you to allocate only one environment handle, environment attributes affect all Db2 ODBC functions that your application calls.