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

Or instead of giving all the var-list you can just give:-

Proc print data= sas data set;
sum _numeric_;
run;

It will give sum of all the numeric variable present in the dataset.
Else if you have all the variables as numeric type, then you can give :-

Proc print data= sas data set;
sum _all_;
run;

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

3582


What are the data types in sas?

1052


which date functions advances a date time or date/time value by a given interval? : Sas programming

941


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5069


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1878


What are the statements in proc sql?

1096


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1358


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

1165


for report generation which one you used proc report or data_null_?

7770


Can you execute macro within another macro? : sas-macro

990


what is proc Index? and what is proc document?

2712


Explain what is the use of proc gplot?

1185


how to do user inputs and command line arguments in sas?

3038


What are the limitations for memory allocation for SAS variables

1478


What Proc glm does?

1076