BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Cooksam13
Fluorite | Level 6

Hi I am looking to make an indicator with a range of numeric variables this is what i am inputting 

DATA	WORK;
SET mississippi;


LowSBPInd = (SBP =<90);
NormalSBPInd = (SBP =90-<140);
HighSBPInd = (SBP =>140);



RUN;

 And then I get an error saying there is a Syntax error shown below. how do I do a range indicator?

 

 

77 LowSBPInd= (SBP =<90);
78 NormalSBPInd= (SBP =90-<140);
_
22
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant,
a missing value, INPUT, PUT.
1 ACCEPTED SOLUTION
2 REPLIES 2