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 what Proc glm does?
Which date function advances a date, time or datetime value by a given interval?
What are the difference between ceil and floor functions in sas?
what is sas data set?
Differences between where and if statement?
do you prefer proc report or proc tabulate? Why? : Sas programming
Explain translate function?
what is ae onset date n what is RDS
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
how do you debug and test your sas programs? : Sas programming
What are the table names in oracle database...?
what are input dataset and output dataset options? : Sas programming
What is the difference between match merge and one to one merge?
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
How will you generate test data with no input data?