The BOOLEAN Data Type
You can declare a boolean host variable as follows:
TRUE
'\1'
FALSE
'\0'
NULL
Use the rsetnull() function with the CBOOLTYPE as the first argument
If you want to assign the character representations of 'T' or 'F' to a BOOLEAN column, you must declare a fixchar host variable and initialize it to the desired character value. Use this host variable in an SQL statement such as the INSERT or UPDATE statement. The database server converts the fixchar value to the appropriate BOOLEAN value. The following code fragment inserts two values into a BOOLEAN column called bool_col in the table2 table:
T
F