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
How would you define the end of a macro? : sas-macro
Explain what is SAS informats?
What do the put and input function do?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
what is snowflake schema? : Sas-di
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
What would be the value of month at the end of data step execution and how many observations would be there?
What are the automatic variables for macro? : sas-macro
why a stop statement is needed for the point= option on a set statement?
Give some examples where proc report’s defaults are different than proc print’s defaults?
what is sas business intelligence? : Sas-bi
how can you import .csv file in to sas? : Sas programming
what are input dataset and output dataset options? : Sas programming
what r the job openings SAS for fresher graduates !
what is the basic structure sas administrator? : Sas-administrator