how we can call macros with in data step?

Answer Posted / learner

We have to use call execute to call a macro. For other
answers
1 &(amperson) is used to resolve the macrovariable and not
call macro .
2 Call symput is to define a macro variable dynamical in
data step. useful in data driven programs.

3 symget is to get the macro variable from symbol table and
not call a macro.

Hope it will help..would recomand to double check before
post ..al the best

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are some differences between proc summary and proc means? : Sas programming

515


what are _numeric_ and _character_ and what do they do? : Sas programming

689


how does sas handle missing values in assignment statements? : Sas programming

573


what are the types of interactive display types? : Sas-bi

662


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

573






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

560


In proc transpose and data step with arrays which one you pick?

2584


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

660


What is slibref?

752


What is the difference between nodupkey and nodup options?

605


Explain proc sort?

681


Name any two sas spawners? : sas-grid-administration

568


Explain the purpose of retain statement.

613


What do you know about sas data set?

604


I have a dataset concat having variable a b & c. How to rename a b to e & f?

585