How can you put a "trace" in your program?
Answer Posted / tangyoulei
use "put" statement and check log
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why and when do you use proc sql?
Explain substr function?
How to include or exclude specific variables in a data set?
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.
Of all your work, where have you been the most successful?
Explain what is data step?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Explain the purpose of retain statement.
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What are the default statistics for means procedure?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
Have you used macros? For what purpose you have used? : sas-macro
Enlist the functions performed by sas.
What are the scrubbing procedures in sas?
Compare sas with other data analytics tools.