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 is the difference between %put and symbolgen? : sas-macro
For what purpose would you use the RETAIN statement?
Explain translate function?
how does sas handle missing values in assignment statements? : Sas programming
List out some key concept of SAS
Give e an example of..
What are the differences between sum function and using “+” operator?
What are the different types of sas functions?
How to specify variables to be processed by the freq procedure?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
What is the difference between order and group variable in proc report?
What are the data types in sas?
What are types of transport files?
how do you test for missing values? : Sas programming
what is function of retain statment