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


Please Help Members By Posting Answers For Below Questions

what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1689


What is PROC in SAS?

608


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

1886


Are you involved in writing the inferential analysis plan? Tables specfications?

2114


how to read the variables in sas? : Sas-administrator

554






what is data integration? : Sas-di

615


What is the basic syntax style in SAS?

621


Mention sas system options to debug sas macros.

663


What is the use of function Proc summary?

656


Difference between SAS STATA & SPSS?

683


What is the difference between one to one merge and match merge? Give an example.

574


Explain proc sort?

673


what is intially documentation in sas?

4335


Differentiate between ceil and floor functions.

658


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

631