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

Answer Posted / selvi

We can code the resusable as seperate macro. And will call
into SAS program where ever there is a need.
Macro should start with %macro macroname(), and end with %
mend.
Syntax for call in datastep-%macroname

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are some good sas programming practices for processing very large data sets? : Sas programming

721


What is the difference between one to one merge and match merge? Give an example.

823


To what type of programms have you used scratch macros?

2355


Name types of category in which SAS Informats are placed?

942


In SAS explain which statement does not perform automatic conversions in comparisons?

1076


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2544


Have you used macros? For what purpose you have used? : sas-macro

816


what is hash files in sas and why we are using this one in sas?

1955


what does the run statement do? : Sas programming

796


Describe what are the different levels of administrative users in sas? : sas-grid-administration

801


how does sas handle missing values in procs? : Sas programming

898


what are validation tools that are used in sas? : Sas-administrator

841


How to test the debugging in sas?

875


explain about sas business intelligence? : Sas-bi

830


What function CATX syntax does?

906