Answer Posted / dupe
Data set option :
Data new(keep=age race gender);
set old;
run;
Data set statemnet:
Data new;
set old;
drop age race and gender;
run;
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why and when do you use proc sql?
Have you ever used the SAS Debugger?
what is data governance? : Sas-di
What is the basic structure of a sas program?
how sas deals with business intelligence? : Sas-bi
In ARRAY processing, what does the DIM function do?
What is the difference between where and if statement?
Differentiate between sas functions and sas procedures.
What are the difference between ceil and floor functions in sas?
explain the difference between proc means and proc summary?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
How to convert a numeric variable to a character variable?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
what is broad cast agent? : Sas-bi
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.