DATA Step, Macro, Functions and more

Where is this in the SAS documentation?

Reply
N/A
Posts: 0

Where is this in the SAS documentation?

Does anyone know where this is documented?

Data data2 ;
Set data1 ;
If var1 eq :’text’ ;
Run ;

What does the ‘:’ before the text string do that causes it to look for the text string ‘text’ in the variable?

Thanks.
Timothy
Trusted Advisor
Posts: 2,116

Re: Where is this in the SAS documentation?

Posted in reply to deleted_user
It's under "Comparison Operators" in base SAS

http://support.sas.com/onlinedoc/913/getDoc/en/lrcon.hlp/a000780367.htm
Ask a Question
Discussion stats
  • 1 reply
  • 101 views
  • 0 likes
  • 2 in conversation