how we can call macros with in data step?

Answer Posted / as

using symget

data one;
symget &macro1;
run;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the features of sas?

800


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

824


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

772


What is substr function?

854


What do you know about sas data set?

803


how would you determine the number of missing or nonmissing values in computations? : Sas programming

895


What is run-group processing?

861


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

800


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2153


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

1006


what are input dataset and output dataset options? : Sas programming

792


Explain proc sort?

867


Mention some common errors that are usually committed in sas programming.

801


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

877


Describe the function and utility of the most difficult SAS macro that you have written?

2256