How we will Developing new reports Using Data step
programming and Macros ?
Answers were Sorted based on User's Feedback
Answer / s.sudarshanreddy
data l;
input d;
file print ods;
put _ods_;
cards;
1
2
3
4
4
5
5
;
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / anjani sasprogrammer
data a;
input
emp_name $
emp_age
emp_sal
;
datalines;
a 23 20000
b 24 25000
;
run;
proc print data=a;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
What are pdv and it functions?
What are the advantages of using sas?
what is sas business intelligence? : Sas-bi
What has been your most common programming mistake?
How to do user inputs and command line arguments in SAS? D&B
Which function is used to count the number of intervals between two sas dates?
what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';
What are the table names in oracle database...?
Can you excute a macro within a macro? Describe.
How do you write a test plan?
What is difference between sas rename and lable?
What is your favorite all time computer book? Why?