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 is the basic syntax style in SAS?
Name statements that function at both compile and execution time.
What is the differnce between SDTM 3.1.2 to 3.1.1 version
How do I CREATE an external dataset with sas code? I would like to create within a sascode a non-exsistent textfile on the host. So I am not forced to create the file befor filling it.
What is the difference between nodupkey and nodup options?
What report output formats can you generate using SAS?
Mention common programming errors committed in sas ?
What are the data types in sas?
how can u join the two tables without using proc sql Joins and nested queries ?
How do handle working under pressure?
Which command is used to perform sorting in sas program?
What procedure you used to calculate p-value?
2 Answers Accenture, Quintiles,