How we will Developing new reports Using Data step
programming and Macros ?
Answer Posted / pambrose
Assuming the question is intended to automate the code..lets say for a monthly report.
here is the outlook of the code
data run_report;
day1 = day(today());
if day1 = 1 then call execute('%monthlyreports');
else.........
....
.........
run;
%monthlyreport;
SAS report generation
%mend;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How are numeric and character missing values represented internally?
What is the maximum length of the macro variable?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
what are some good sas programming practices for processing very large data sets? : Sas programming
What is the difference between %put and symbolgen? : sas-macro
what are 5 ways to perform a table lookup in sas? : Sas-administrator
Why double trailing @@ is used in input statement?
what is star schema? : Sas-di
Give some examples where proc report’s defaults are same as proc print’s defaults?
What is PDV?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
How can you create a macro variable with in data step? : sas-macro
Give e an example of..
How to create a permanent sas data set?
describe the interaction table in sas di? : Sas-di