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 i having variables named a b c d e f ,how to find total of
each variable ????give syntax...??

Answer Posted / puja

Its total of each variable and not row total i suppose
hence the syntax can be given as
proc sql;
create table SUM as
select sum(a) as sum_a,
sum(b) as sum_b,
sum(c) as sum_c,
sum(d) as sum_d,
sum(e) as sum_e,
sum(f) as sum_f
from input_dataset_name;
quit;

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to perform sorting in sas program?

1040


What are the differences between proc means and proc summary?

1126


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

1035


Differentiate between sas functions and sas procedures.

1217


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

2734


In proc transpose and data step with arrays which one you pick?

3100


Explain the use of proc print and proc contents?

955


what do the pad and dim functions do? : Sas programming

1014


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

2364


What Proc glm does?

1074


Given an unsorted data set, how to read the last observation to a new data set?

1341


What is the purpose of trailing @ and @@? How do you use them?

1031


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

1052


How to specify variables to be processed by the freq procedure?

1067


what are the benefits of data integration? : Sas-di

1096