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

name some data transformation used in sas di? : Sas-di

723


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2111


Explain by-group processing?

769


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

986


In sas admin differentiate between roles and capabilities? : sas-grid-administration

745






How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

775


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

883


what is operational data and operational system? : Sas-di

830


Do you need to rearrange the order of the data for the report?

2041


Explain the difference between using drop = data set option in set and data statement?

893


What is connection profile? : sas-grid-administration

861


what is business intelligence? : Sas-bi

780


Hi, If anyone has base SAS certification dumps, please share.

1592


Explain the main difference between the sas procedures and functions? : Sas-administrator

747


explain what is data set in sas? : Sas-administrator

714