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


Please Help Members By Posting Answers For Below Questions

what are the benefits of data integration? : Sas-di

535


How you can read the variables that you need?

651


What is the maximum and minimum length of macro variable

652


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

755


Where do you use proc means over proc freq?

558






How can you limit the variables written to output dataset in data step?

743


How do you specify the number of iterations and specific condition within a single do loop?

615


How do you add a number to a macro variable? : sas-macro

542


What are types of transport files?

6830


what are some good sas programming practices for processing very large data sets? : Sas programming

507


What is the difference between one to one merge and match merge? Give an example.

565


what versions of sas have you used (on which platforms)? : Sas programming

579


what is the primary data source for the wrs? : Sas-bi

650


What is the difference between the proc sql and data step?

660


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

605