求助:請問下面的code問題在哪里?怎么改正??
data data_&sysdate9.;
set report;
if buy_date=input((&sysdate9.),date9.);
run;
Log中的顯示:
110 data data_&sysdate9.;
111 set report;
112 if buy_date=input((&sysdate9.),date9.);
NOTE: Line generated by the macro variable "SYSDATE9".
1 20JUN2009
-------
22
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, <, <=, <>, =,
>, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||,
~=.
113 run;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
1:1
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.DATA_20JUN2009 may be incomplete. When this step was stopped there were 0
observations and 9 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
[em49]感激不盡!