05-21-2013 10:06 AM
int1 and ext1 are numeric
i am trying to set both of them to missing if int1 has a particular date-time
i am getting this syntax error in the log
What corrections do i need to make to get it right??
31 data test2;
32 set test;
33 if mrn1 eq '101' and int1 eq 27DEC2011:15:02:00 then call missing(int1,ext1);
ERROR 388-185: Expecting an arithmetic operator.
ERROR 76-322: Syntax error, statement will be ignored.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.TEST2 may be incomplete. When this step was stopped there were 0 observations and 24 variables.
WARNING: Data set WORK.TEST2 was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
OS Memory 15984k
Timestamp 5/21/2013 8:59:53 AM
Need further help from the community? Please ask a new question.