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

describe the interaction table in sas di? : Sas-di

976


Compare sas with other data analytics tools.

988


Explain the special input delimiters used in sas programming.

968


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

965


How to limit decimal places for the variable using proc means?

1006


what is study design in while working with SAS? what are screening variables in SAS?

2192


How do dates work in sas?

1080


how many types of prompts are there? : Sas-bi

1043


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4537


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2716


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1858


How does the internal authentication work in sas? : sas-grid-administration

1080


What is the function of output statement in a SAS Program?

1022


What are the implications?

1639


Define run-group processing?

994