L187: Reference to a current date/time special register is invalid.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -187, for information.
Restriction: This topic applies to Windows environments only.