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 / ravira
data set name ;
set old data set name ( keep = a b c d e);
run;
By using above concept u can read what r the variables u
want to read ,first create data set having many variables ,
then try to read from some variables
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
what techniques and/or procs do you use for tables? : Sas programming
how could you generate test data with no input data? : Sas programming
Explain what is SAS informats?
what is sas enterprise intelligence architecture? : Sas-bi
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
what are the best practices to process the large data sets in sas programming? : Sas-administrator
Explain why double trailing @@ is used in input statement?
what can you learn from the sas log when debugging? : Sas programming
How would you define the end of a macro?
How many data types are there in SAS?
How to create a permanent sas data set?
explain what is data set in sas? : Sas-administrator
What do the PUT and INPUT functions do?
what is proc Index? and what is proc document?
explain the difference between proc means and proc summary?