@timeless wrote:
That was exactly what I was doing
Check your program and SAS log more carefully. The only way to get that message is to not include a format specification. If you include an invalid format specification you get a different error message.
718 data _null_;
719 input string $20.;
720 num1=input(string,20.);
721 num2=input(string,??20.);
722 num3=input(string,??);
-
22
76
723 num4=input(string,);
-
22
76
724 num5=input(string,1234);
----
85
76
ERROR 22-322: Expecting a format name.
ERROR 76-322: Syntax error, statement will be ignored.
ERROR 85-322: Expecting a format name.
725 cards;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.03 seconds
... View more