D CURDATE S 8 0
C EVAL CURDATE = %UNS(%CHAR(%DATE():*ISO))
For some reason I get the following error:
"A character representation of a numeric value is in error."
I also tried using the %INT function and this gave me the same error. Can anyone tell me what the problem is here?