Tell different ways to create Macrovarible?
Answer Posted / paramatma pulivarthi
there are 5 ways to create macro variable
1.by using %global
2.by using %local
3.by using %let
4.by using call symput
5.by using select and into clause
and
6. by passing the values to macro through the parameters.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is function of retain statment
what is the difference between nodup and nodupkey options? : Sas programming
what are the benefits of data integration? : Sas-di
What are the functions which are used for character handling functions?
What’s the difference between var b1 – b3 and var b1 — b3?
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 are the data types in sas?
What is proc sort?
What are pdv and it functions?
Explain append procedure?
Mention the category in which sas informats are placed?
what is ae onset date n what is RDS
How would you define the end of a macro? : sas-macro
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
What is SAS?