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

data set name ;
set old data set name ( keep = a b c d e);
run;

By using above concept u can read what r the variables u
want to read ,first create data set having many variables ,
then try to read from some variables

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read an input file in sas?

897


How substr function works in sas?

883


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1839


What does the RUN statement do?

1062


How would you include common or reuse to be processed along with your statements?

2116


what type of graphs we will create(for 2+years candidates)?

2082


Mention the validation tools used in SAS?

841


Differentiate between proc means and proc summary.

776


Explain the special input delimiters used in sas programming.

762


what is snowflake schema? : Sas-di

894


what is sas business intelligence? : Sas-bi

812


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2105


what versions of sas have you used (on which platforms)? : Sas programming

797


Compare sas with other data analytics tools.

785


How do you test for missing values?

1283