if i having variables named a b c d e f ,how to find total of
each variable ????give syntax...??
Answer Posted / shambhu verma
There are various method for it but the simple way to find
out total / sum of each numerical variables is...........
Proc print data= sas data set;
sum var-list;
run;
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What is data _null_?
Differentiate between format and informat? : sas-grid-administration
what are validation tools that are used in sas? : Sas-administrator
what is business intelligence? : Sas-bi
I need level 2 to 5 sas using companies in india
explain the concepts and capabilities of business object? : Sas-bi
what are all the reports you generated in your recent project?
What are the data types that sas contain?
Differentiate between ceil and floor functions.
Differentiate between sas functions and sas procedures.
What is the difference between using drop = data set option in data statement and set statement?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
what is sas database server? : Sas-di