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 is the use of proc sql? : Sas programming

575


how are numeric and character missing values represented internally? : Sas programming

607


What is the maximum length of the macro variable? : sas-macro

603


What is the basic structure of the SAS base program?

673


describe the interaction table in sas di? : Sas-di

574






What is the command used to find missing values?

578


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

534


How long can a macro variable be? A token? : sas-macro

703


explain the key concept of sas? : Sas-administrator

547


What are the difference between the sas data step and sas procs?

594


How to sort in descending order?

777


Given an unsorted data set, how to read the last observation to a new data set?

818


What would you change about your job?

1911


Describe 5 ways to do a “table lookup” in SAS?

685


Can you explain the process of calendar?

626