I'm stuck here where I'm trying to filter FinalData to keep only records where rule_order is < 997.1 before the merge actually happens. 1378 data FinalData;
1379 merge QueryData (in=a) FinalData_2(in=b) (where= (rule_order < 997.1));
-
22
76
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, ;, END, _DATA_, _LAST_, _NULL_.
ERROR 76-322: Syntax error, statement will be ignored.
1380 by imb_code;
1381 if a and not b;
1382 run;
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.FINALDATA may be incomplete. When this step was stopped there were 0 observations and 0 variables.
WARNING: Data set WORK.FINALDATA was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
... View more