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

Explain the difference between nodup and nodupkey options?

611


What are the difficulties u faced while doing vital signs table or dataset?

1935


what are the component of range? : Sas-bi

616


Define run-group processing?

581


Describe the ways in which you can create macro variables? : sas-macro

576






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

569


why a stop statement is needed for the point= option on a set statement?

625


What is program data vector (pdv)?

635


In SAS explain which statement does not perform automatic conversions in comparisons?

801


what is the use of proc contents and proc print in sas? : Sas-administrator

603


Difference between sum function and using “+” operator?

602


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

1969


What is the maximum and minimum length of macro variable

654


What commands are used in the case of including or excluding any specific variables in the data set?

594


what are validation tools that are used in sas? : Sas-administrator

593