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

Answer Posted / rishie

by calling a macro into your program
data x;
set x;
%Z;
run;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum length of the macro variable?

901


Difference between nodup and nodupkey options?

863


How to test the debugging in sas?

852


Explain data_null_?

800


Difference between sum function and using “+” operator?

842


Name some categories in sas 9? : sas-grid-administration

738


What does proc print, and proc contents are used for?

813


why a stop statement is needed for the point= option on a set statement?

818


What is the role of unrestrictive users? : sas-grid-administration

778


how to do user inputs and command line arguments in sas?

2668


explain the main difference between the nodup and nodupkey options? : Sas-administrator

919


How do you specify the number of iterations and specific condition within a single do loop?

839


What are the scrubbing procedures in sas?

763


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

2010


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.

2024