%SYSFUNC doesn't work
Posted on 2011-05-13
The following instruction gives a fault :
%LET start = 20110301 ;
DATA _NULL_ ;
%LET strt = %SYSFUNC(INPUTN(&start,DATE9.)) ;
%LET strt2 = %SYSFUNC(PUTN(&start,DATE9.)) ;
WARNING: Argument 1 to function INPUTN referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range.
NOTE: Mathematical operations could not be performed during %SYSFUNC function execution. The result of the operations have been set to a missing value.