One way of creating a new variable in Macros is by %
Let....What is the other way..?

Answer Posted / prem krishnan

1) %macro <macroname> ( );
%mend (<macroname>;

a DATA step that contains a SYMPUT routine within a macro
definition
a DATA step that contains a SYMPUTX routine within a macro
definition

a SELECT statement that contains an INTO clause in PROC SQL
within a macro
definition
a %LOCAL statement.
%global statement

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of %include statement?

771


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4058


Differentiate between format and informat? : sas-grid-administration

742


What are types of transport files?

7258


how sas deals with business intelligence? : Sas-bi

755






how many display types available in sas bi dashboard? : Sas-bi

793


What are the different servers in sas? : sas-grid-administration

780


What is the basic structure of a sas program?

738


What are the ways in which macro variables can be created in sas programming?

719


what is ae onset date n what is RDS

2093


what are sas bi dashboard components? : Sas-bi

807


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

770


what is the function of catx syntax? : Sas-administrator

804


what is the use of proc sql? : Sas programming

736


how can you create zero observation dataset? : Sas programming

823