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 difference between N and n????

2 Answers   Sciformix,


i have one dataset data l; input name: $ 25; cards; manoj is a good boy to krishna krishna is a god boy to malli malli is good boy to ramana ques: here i want "manoj" observations nubers

3 Answers   SAS,


what is sas database server? : Sas-di

0 Answers  


What do the PUT and INPUT functions do?

0 Answers  


Explain what is data step?

0 Answers  


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

0 Answers  


Name statements that are execution only.

14 Answers   Accenture,


why only we use SAS? their r many programmin language like SPSS, Oracle... Why SAS?

2 Answers   Accenture,


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

0 Answers  


Describe what are the different levels of administrative users in sas? : sas-grid-administration

0 Answers  


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


What is _n_?

22 Answers  


Categories