The value does not conform to any valid DATE, TIME or TIMESTAMP format. The message identifies the host variable position, string constant or column involved. SQLSTATE is 22007.
A related error, -181, covers a string that has a valid shape but is out of range.
Typical causes
A host variable holds a date, time or timestamp string of the wrong length or layout.
A character string constant is not a valid datetime string.
A character column being converted holds a value that is not a valid datetime string.
How to fix it
Use the token in the message to find the host variable, constant or column.
Correct the program so the value follows DATE, TIME or TIMESTAMP syntax.
Review the datetime formats in the Db2 documentation.