SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating List Reports
Selecting Observations


Question: Write a statement to select observations where the value of Name is Wilson or Wilkins and where the value of ID is 3457 or 3460. Use the IN operator wherever possible to specify conditions.
     proc print data=clinic.insure;
        var id name company policy;
run;

           
 

back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement