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

We can either use keep or drop option for selecting those
five variables.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to remove duplicates using proc sql?

855


I have a dataset concat having variable a b & c. How to rename a b to e & f?

785


How would you identify a macro variable?

835


What is SAS? What are the functions does it performs?

943


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

845


what is the purpose of _error_? : Sas programming

836


what other sas products have you used and consider yourself proficient in using? : Sas programming

880


Name any two sas spawners? : sas-grid-administration

767


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

897


why is a stop statement needed for the point=option on a set statement? : Sas programming

811


What are all the problems you faced while validating tables and reports?

3220


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

762


How do you define proc in sas? : sas-grid-administration

853


What is the differnce between SDTM 3.1.2 to 3.1.1 version

4828


describe about metadata object? : Sas-di

811