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
describe the interaction table in sas di? : Sas-di
Compare sas with other data analytics tools.
Explain the special input delimiters used in sas programming.
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
How to limit decimal places for the variable using proc means?
what is study design in while working with SAS? what are screening variables in SAS?
How do dates work in sas?
how many types of prompts are there? : Sas-bi
This entry was posted in General. Bookmark the permalink. Post a comment or leave
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
How does the internal authentication work in sas? : sas-grid-administration
What is the function of output statement in a SAS Program?
What are the implications?
Define run-group processing?