Argument-1, %1, of intrinsic %2, is not valid. Phrase or statement ignored.
30
Cause . . . . . : Argument-1 must be of class date-time or must represent a date-time item. Argument-1 can be one of the following:
a date, time, or timestamp item
an item of class alphanumeric
a non-numeric literal
an integer arithmetic expression
Recovery . . . : Replace argument-1 with an item of the correct type.