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 the different between functions and PROCs that calculate the same simple descriptive statistics?
What are the five ways to do a table lookup in sas? : sas-grid-administration
If a variable contains letters or special characters, can it be numeric data type?
How will you generate test data with no input data?
What are the functions which are used for character handling functions?
Describe the ways in which you can create macro variables? : sas-macro
how many types prompting framework can be broken down to? : Sas-bi
How do you use the do loop if you don’t know how many times you should execute the do loop?
how can you import .csv file in to sas? : Sas programming
What do you know about symput and symget?
How to create an external dataset with sas code?
What is by-group processing?
how to read the variables in sas? : Sas-administrator
how do you pull data from equifax?tell me the process?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming