SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading and Concatenating SAS Data Sets
Selecting Variables


Question:

Suppose you want to drop the variables Manager and EmpDept from the Payroll.EmpMast data set. In the following program, where should you specify the DROP= option?

data payroll.empmast;
   set payroll.employee;
if empdept in ("Finance","Legal"); run;
You can drop both variables in the SET statement.
You must drop both variables in the DATA statement.
You can drop one variable in the SET statement, but you must drop the other variable in the DATA statement.


  back||next

 

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

Terms of Use & Legal Information | Privacy Statement