How would you include common or reuse code to be processed
along with your statements?
Answers were Sorted based on User's Feedback
Answer / mallikarjuna reddy.vanna
i think, it is by using %include statement
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / rishie
by calling a macro into your program
data x;
set x;
%Z;
run;
| Is This Answer Correct ? | 0 Yes | 1 No |
Which is the best training Institute for SAS Business Intelligence course?
what are scrubing procedures in SAS?
what is chi-square test? have you used that?
1 Answers Accenture, Quintiles,
How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What are the default statistics for means procedure?
What is the difference between %put and symbolgen? : sas-macro
how do the in= variables improve the capability of a merge? : Sas programming
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
what is sas application server? : Sas-di
how to know the attributes of first five datasets in a library
What are the different servers in sas? : sas-grid-administration
what is portability of sas programmes?