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 / vinod swarna
use select statement with just those 5 variables:
proc sql;
create table only5 as
select var1,var2,var3,var4,var5
from example;
quit;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
I need level 2 to 5 sas using companies in india
how does sas handle missing values in functions? : Sas programming
How can you limit the variables written to output dataset in data step?
how can you put a "trace" in your program? : Sas programming
How does the internal authentication work in sas? : sas-grid-administration
how to change the execute of macro
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
what are validation tools that are used in sas? : Sas-administrator
How can you create a macro variable with in data step? : sas-macro
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What do you know about symput and symget?
What are the applications primarily used by business analyst? : Sas-bi
What do the mod and int function do? : Sas programming
What are the statements that are executed only?
I have a dataset concat having a variable a b & c. How to rename a b to e & f?