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 / guest

My guess is also the keep statement to keep only 5
variables out of 100 variables..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which date function advances a date, time or datetime value by a given interval? : Sas programming

596


what are the considerations when picking a SAS/STAT procedure?

2899


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

1967


What is the use of divide function?

600


what is the use of proc sql? : Sas programming

594






List down the reasons for choosing sas over other data analytics tools.

806


What are the statements that are executed only?

673


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

680


What do the SAS log messages "numeric values have been converted to character" mean?

888


why is sas considered self-documenting? : Sas programming

682


What’s the difference between var b1 – b3 and var b1 — b3?

826


Which are the statements whose placement in the data step is critical?

761


Tell e how how dealt with..

1769


What are the different types of sas functions?

607


What is the difference between %local and %global? : sas-macro

668