Restrictions on OPTOFC With the OPTOFC feature enabled, the following restrictions exist:
1
This value enables the OPTOFC feature. When you specify this value, you enable the OPTOFC feature for every cursor in every thread of the application.
0
This value disables the OPTOFC feature for all threads of the application.
The default value of the OPTOFC environment variable is 0 (zero). If you set this environment variable from the shell, make sure you set it before you start the ESQL/C application. On UNIX operating systems, you can set OPTOFC from within the application with the putenv() system call (as long as your system supports the putenv() function). For example, the following call to putenv() enables the OPTOFC feature:
On UNIX operating systems, you can set OPTOFC from within the application with the putenv() system call (as long as your system supports the putenv() function). For example, the following call to putenv() enables the OPTOFC feature:
In Windows environments, you can use the ifx_putenv() function.
With putenv() or ifx_putenv(), you can activate or deactivate the OPTOFC feature for each connection or within each thread. You must call the putenv() or ifx_putenv() function before you establish a connection.