#docslug#/ecob/ecob/V1.1.6/eew050
Compatibility
OceanBase Embedded SQL in C (ECOB) V1.1.0 does not support the following features of PRO*C:
ECOB does not completely support the preprocessor macro #elif in C language when PARSE is set to FULL.
ECOB does not support the value YES for THREADS or the corresponding multi-thread secure runtime.
ECOB does not support Dynamic SQL Method 4 of Oracle or the related SQL descriptor area (SQLDA) data structure.
ECOB does not support executing the PL anonymous block by using the
EXECUTE ... END-EXECcluse.
Migration instructions
To replace the Oracle PROC precompiler program with the OceanBase ecob precompiler program to compile the source files, you only need to slightly adjust the code.
At present, ECOB does not support the C preprocessor command #elif. When an error is returned, perform the following troubleshooting steps:
If #elif appears in the .h header file, replace h with #include <>.
If #elif appears in the .pc file, you can: a. Set parse_cpp_directive to no. b. Remove #elif.
ECOB does not support Dynamic SQL Method 4 of Oracle or the related SQLDA data structure. If this feature is required, change to the
DESCRIPTORbased dynamic SQL statements of ANSI.