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

Is it possible to do sorting tranformation in charecter variable??if can tell me one eg..

1 Answers  


How you can read the variables that you need?

0 Answers  


What is the work of tranwrd function?

0 Answers  


How we can call macros with in data step? : sas-macro

0 Answers  


Difference between SAS STATA & SPSS?

0 Answers  


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

0 Answers   Quintiles,


What are the data types that sas contain?

0 Answers  


what is the prob plot in clinical domain

1 Answers   TCS,


What is the difference between order and group variable in proc report?

0 Answers  


what are the sites did u refer for enquiries and doubts for SAS

2 Answers   UBS,


in data set200 observation how to take 110,150,170 using sql procedure?

7 Answers   Accenture,


HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?

1 Answers   TCS,


Categories