Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

in data set - use keep
in proc step- use var ,id statements

ex-
data a;
infile urfilename;
input score1-score100;
keep sore1-score5;
run;

input a;
input score1-scor100
run;
proc print data=a;
var score1-score5;
id score1-score5;
run;

observe id-in this statement nuber of obs not displed in
out put

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 business intelligence? : Sas-bi

1068


what is sas database server? : Sas-di

1135


Briefly explain input and put function?

1085


What is the command used to find missing values?

1101


In SAS explain which statement does not perform automatic conversions in comparisons?

1314


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1162


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2375


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

2564


Name some categories in sas 9? : sas-grid-administration

978


What is data _null_?

1145


Explain by-group processing?

1004


How is character variable converted into numeric variable and vice versa?

1178


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3589


What are the implications?

1713


Differences between where and if statement?

1092