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 command used to find missing values?

790


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

773


what is sas olap server? : Sas-di

955


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

833


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

1235


Give an example where SAS fails to convert character value to numeric value automatically?

833


What are the differences between sum function and using “+” operator?

788


Are you involved in writing the inferential analysis plan? Tables specfications?

2310


State the difference between INFORMAT and FORMAT ?

805


what has been your most common programming mistake? : Sas programming

786


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

737


What is the difference between input and infile statement?

876


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1682


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1520


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1802