How would you include common or reuse code to be processed
along with your statements?
Answer Posted / raj
Use %inc statement to include piece of code
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the new features included in the new version of SAS Programming Language?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what is sas olap server? : Sas-di
What are the ways in which macro variables can be created in sas programming?
Are you involved in writing the inferential analysis plan? Tables specifications?
What commands are used in the case of including or excluding any specific variables in the data set?
which date function advances a date, time or datetime value by a given interval? : Sas programming
What is the difference between the proc sql and data step?
How you can read the variables that you need?
What versions of SAS have you used (on which platforms)?
what is the basic structure sas administrator? : Sas-administrator
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.
Mention the validation tools used in SAS?
What is the use of the %include statement?
How do you add a number to a macro variable? : sas-macro