How we will Developing new reports Using Data step
programming and Macros ?

Answers were Sorted based on User's Feedback



How we will Developing new reports Using Data step programming and Macros ?..

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

How we will Developing new reports Using Data step programming and Macros ?..

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

How we will Developing new reports Using Data step programming and Macros ?..

Answer / s.sudarshanreddy

file print _ods_;

Is This Answer Correct ?    0 Yes 0 No

How we will Developing new reports Using Data step programming and Macros ?..

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

Post New Answer

More SAS Interview Questions

What is the role of sas grid administrator? : sas-grid-administration

0 Answers  


what is the difference btw proc means and proc univariate?

8 Answers   HSBC, TCS,


One way of creating a new variable in Macros is by % Let....What is the other way..?

5 Answers   TCS,


what is prime numbers? how we can get plc write sas code?

5 Answers   Icon,


Tell e how how dealt with..

0 Answers   Wipro,






what is the difference between proc report and proc format?

7 Answers   CTS,


what are several options for creating reports in web report studio? : Sas-bi

0 Answers  


if we dont want to print output what we have to do..???give syntax..???

8 Answers   Accenture, GSK GlaxoSmithKline,


proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


How to convert a numeric variable to a character variable?

0 Answers  


Tell e how how dealt with..

0 Answers  


Does SAS ‘Translate’ (compile) or does it ‘Interpret’? Explain.

4 Answers   Accenture,


Categories