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
Name and describe few sas character functions that are used for data cleaning in brief.
how can you put a "trace" in your program? : Sas programming
What is the basic structure of the SAS base program?
which date function advances a date, time or datetime value by a given interval? : Sas programming
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
explain the difference between proc means and proc summary?
What is the order of application for output data set options, input data set options and SAS statements?
How to convert a numeric variable to a character variable?
What are the functions which are used for character handling functions?
why is sas data integration studio important? : Sas-di
What Proc glm does?
how do you debug and test your sas programs? : Sas programming
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
How we can create SAS USER DEFINED CODE?
What is a put statement?