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 Linear Regression?

687


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

582


Name few SAS functions?

668


What are the features of base sas system?

613


What is SAS?

621






what is sas data set?

669


Are you sensitive to code walk-throughs peer review or QC review?

2610


What is the general format of function in sas? : sas-grid-administration

570


what are sas/access and sas/connect? : Sas programming

548


Mention the difference between ceil and floor functions in sas?

648


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

631


name several ways to achieve efficiency in your program? : Sas programming

571


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

583


: and & modifiers.

862


what is function of retain statment

1522