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
what other sas products have you used and consider yourself proficient in using? : Sas programming
what is operational data and operational system? : Sas-di
How to convert a numeric variable to a character variable?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
explain about sas business intelligence? : Sas-bi
Mention the category in which sas informats are placed?
How do you use the do loop if you don’t know how many times you should execute the do loop?
What are the difference between ceil and floor functions in sas?
Describe the ways in which you can create a macro variable?
What is the work of tranwrd function?
What are the parameters of scan function?
What is the basic syntax of a sas program?
What do the put and input function do?
What is the difference between reading data from an external file and reading data from an existing data set?
what is data governance? : Sas-di