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 is the work of tranwrd function?

668


Give e an example of..

1843


What is PROC in SAS?

604


Define run-group processing?

581


What are the data types does SAS contain?

655






What are the functions which are used for character handling functions?

620


what techniques and/or procs do you use for tables? : Sas programming

573


What is the use of PROC gplot?

640


what is the Population you used in your project, is it ITT or PP?

2183


What is slibref?

746


Do you need to know if there are any missing values?

597


what are _numeric_ and _character_ and what do they do? : Sas programming

676


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1167


What is the role of sas grid administrator? : sas-grid-administration

828


What is the difference between class statement and by statement in proc means?

645