how we can call macros with in data step?

Answer Posted / selvi

We can call macro in a dataset by preceding % with macro
name.

call symput - used to create macro variable in data step.

symget - used to assign value of macro variable to data
step variable.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do dates work in SAS data?

883


explain the proc in sas? : Sas-administrator

810


describe how to adjust the performance of data integrator? : Sas-di

743


Explain input and put function?

843


how do you pull data from equifax?tell me the process?

1547






what is program data vector? : Sas-administrator

806


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2269


How we can create SAS USER DEFINED CODE?

1814


What versions of SAS have you used (on which platforms)?

1229


How to specify variables to be processed by the freq procedure?

815


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

814


If a variable contains only numbers, can it be a character data type?

828


explain the concepts and capabilities of business object? : Sas-bi

713


What’s the difference between var b1 – b3 and var b1 — b3?

1036


What is the sas data set? : sas-grid-administration

746