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

is data integration and etl programming is same? : Sas-di

578


how do you debug and test your sas programs? : Sas programming

567


how many types of prompts are there? : Sas-bi

557


Describe the ways in which you can create macro variables?

641


What do you know about sas and what we do? : sas-grid-administration

608






what is the difference between nodup and nodupkey options? : Sas programming

625


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

806


I need level 2 to 5 sas using companies in india

1934


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

628


What is the good sas programming practices for processing large data sets?

634


Explain the purpose of retain statement.

609


what is the difference between floor and ceil functions in sas? : Sas-administrator

708


What does the trace option do?

671


Mention the validation tools used in SAS?

658


Explain why double trailing @@ is used in input statement?

579