Binary storage of variable values using the FOR BIT DATA clause in C and C++ embedded SQL applications
You can declare certain
database columns by using the FOR BIT DATA clause. These columns,
which generally contain characters, are used to hold binary information.
You cannot use the standard C or C++ string type 460 for columns designated FOR BIT DATA. The database manager truncates this data type when a null character is encountered. Use either the VARCHAR (SQL type 448) or CLOB (SQL type 408) structures.