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 / sindhura
new_data_set ( will have the five variables with variable
names var1, var2, var3, var4, var5)
data new_data_set;
set old_data_set( keep = var1 var2 var3 var4 var5);
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What is the difference between %local and %global? : sas-macro
Have you ever used the SAS Debugger?
explain the concepts and capabilities of business object? : Sas-bi
What is data _null_?
What is the use of PROC gplot?
how do you debug and test your sas programs? : Sas programming
List out some key concept of SAS
Tell e how how dealt with..
how would you create multiple observations from a single observation? : Sas programming
How do you connect the desktop application to metadata server? : sas-grid-administration
explain about data integrator metadata reports? : Sas-di
What are the default statistics for means procedure?
How long can a macro variable be? A token? : sas-macro
What is a macro routine?