SQL Option - ALLOWNULLCHAR

Allows programs to use PIC X(n) host variables, and to select/ insert/ update hexadecimal characters in CHAR columns without changing source to use SQL TYPE BINARY host variables.

Syntax:
>>-.----.--ALLOWNULLCHAR-----------------><
   +-NO-+
Parameters:

None

Properties:
Default: NOALLOWNULLCHAR
Comments:

If this option is set, each COBOL character host variable can contain hexadecimal characters. Normally OpenESQL terminates data from/to a host variable if an X"00" (null character) is encountered. This directive makes it easier to migrate applications from DB2.