If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?
Answer Posted / mohan reddy
U CAN USE THE KEEP OPTION.
EX
DATA EMP(KEEP=NAME AGE SAL ADD LOC);
SET EMPLOYEE;
RUN;
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
what is slowly changing dimension? : Sas-di
what is the effect of the options statement errors=1? : Sas programming
Explain what Proc glm does?
What is the function of output statement in a SAS Program?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
Explain append procedure?
what has been your most common programming mistake? : Sas programming
for report generation which one you used proc report or data_null_?
how to change the execute of macro
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Explain the difference between using drop = data set option in set and data statement?
explain the difference between proc means and proc summary?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
How would you identify a macro variable?