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
How would you define the end of a macro?
What is substr function?
what are _numeric_ and _character_ and what do they do? : Sas programming
What is data _null_?
How do you add a number to a macro variable? : sas-macro
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Difference between informat and format?
How to convert a numeric variable to a character variable?
How can you create a macro variable with in data step? : sas-macro
Which function is used to count the number of intervals between two sas dates?
which date functions advances a date time or date/time value by a given interval? : Sas programming
what is business intelligence? : Sas-bi
what are validation tools that are used in sas? : Sas-administrator
what is snowflake schema? : Sas-di
what is the primary data source for the wrs? : Sas-bi