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

Mention what is PROC in SAS?

610


what do you mean by data staging area? : Sas-di

609


Explain bmdp procedure?

622


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1471


how are numeric and character missing values represented internally? : Sas programming

627






What are the table names in oracle database...?

2265


what type of graphs we will create(for 2+years candidates)?

1911


What is PROC in SAS?

614


What will calendar procedure do?

607


describe the interaction table in sas di? : Sas-di

600


Briefly explain input and put function?

641


Can you execute macro within another macro? : sas-macro

539


What does proc print, and proc contents are used for?

617


how to read the variables in sas? : Sas-administrator

558


What are the different operating system platforms in which we can use sas? : sas-grid-administration

601