how to assign a macro value to a variable?
Answer Posted / saritha
%let variable=value;
like
%let city='hyd';
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
what is change analysis in sas di ? : Sas-di
what is sas business intelligence? : Sas-bi
How do you use the do loop if you don’t know how many times you should execute the do loop?
What is connection profile? : sas-grid-administration
What is a macro routine?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Describe a time when you were really stuck on a problem and how you solved it?
Differentiate between format and informat? : sas-grid-administration
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 different versions of sas that you have used until now? : sas-grid-administration
In SAS explain which statement does not perform automatic conversions in comparisons?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
what r the job openings SAS for fresher graduates !
why a stop statement is needed for the point= option on a set statement?