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 / kishore kumar
If ur reading data from any dataset we will use keep option
like set data1(keep = 5 variables);,If ur using in any
procedure just with var statement.If u want to display to
have output with only 5variables out of 100 just use keep
option with data statement.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain input and put function?
What is by-group processing?
how does sas handle missing values in sort order? : Sas programming
What can be the size of largest dataset in SAS?
how are numeric and character missing values represented internally? : Sas programming
How long can a macro variable be? A token? : sas-macro
Explain what is SAS informats?
what is information maps?
How would you identify a macro variable? : sas-macro
Difference between informat and format?
In sas, what are the areas that you are most interested in? : sas-grid-administration
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
how do you debug and test your sas programs? : Sas programming
what is business intelligence? : Sas-bi
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming