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

which date function advances a date, time or datetime value by a given interval? : Sas programming

0 Answers  


how to handle in stream data containing semicolon in it?

3 Answers  


How would you include common or reuse code to be processed along with your statements?

5 Answers   PSCI,


What techniques and/or PROCs do you use for tables?

4 Answers   Oracle,


What are the different types of sas functions?

0 Answers  






How you can read the variables that you need?

0 Answers  


what is the use of LRECL option.

1 Answers   L&T,


which features do you use to check the data validations and errors? : Sas-administrator

0 Answers  


How would you create multiple observations from a single observation?

1 Answers   Quintiles,


What are SAS/ACCESS and SAS/CONNECT?

0 Answers  


What are the functions used for character handling?

0 Answers  


how to write code for left outer join in SAs using datastep?

8 Answers   CitiGroup,


Categories