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

how do u identify a macro variable

5 Answers  


What are the different servers in sas? : sas-grid-administration

0 Answers  


what r the job openings SAS for fresher graduates !

0 Answers   TetraSoft, Wipro,


At compile time when a SAS data set is read, what items are created?

14 Answers   Accenture,


How does Mr.Lanka Srinivas teach SAS? Are his accomplishments real? What are the future prospects for SAS?

1 Answers   Student,






explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

0 Answers  


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

0 Answers   Axis Bank,


what are all the ways to define macro variable??

2 Answers   GSK GlaxoSmithKline,


How could you generate test data with no input data?

6 Answers   Quintiles,


Explain the purpose of retain statement.

0 Answers  


Mention how to limit decimal places for the variable using proc means?

0 Answers  


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

0 Answers  


Categories