In an XDBC configuration file, set the DATE_NULL_VALUE configuration variable to a valid date, as per the format specified by the XFD DATE directive, to be used when translating dates between a DATETIME type and a COBOL data type.
With the following variable set:
DATE_NULL_VALUE 1969021100000000
the following translations occur:
Original item | Translated to |
---|---|
COBOL item is the same value as DATE_NULL_VALUE | SQL NULL |
DATETYPE is NULL | 1969021100000000 |