Tell different ways to create Macrovarible?

Answers were Sorted based on User's Feedback



Tell different ways to create Macrovarible?..

Answer / shah

Four ways to create Macro variables:
1. %Let
2. %Macro(Keyword or Positional Parameters)
3. Proc SQL select into:
4. Call Symput

Is This Answer Correct ?    25 Yes 1 No

Tell different ways to create Macrovarible?..

Answer / kamal sharma

1. %LET
2. %GLOBAL
3. %LOCAL
4. Macro parameter
5. %DO loop index variable
6. CALL SYMPUT / CALL SUMPUTX
7. PROC SQL INTO clause
8. ODS OUTPUT statement using the MATCH_ALL option

Is This Answer Correct ?    7 Yes 0 No

Tell different ways to create Macrovarible?..

Answer / paramatma pulivarthi

there are 5 ways to create macro variable
1.by using %global
2.by using %local
3.by using %let
4.by using call symput
5.by using select and into clause
and
6. by passing the values to macro through the parameters.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

In SAS explain which statement does not perform automatic conversions in comparisons?

0 Answers  


1 new york 7,262,700 2 los angeles 3,259,340 3 philadelphia 1,642,900 how to read the above data using input statement consider the above data is in txt format externally u have to use infile and input statement.

9 Answers   Quintiles,


why a stop statement is needed for the point= option on a set statement?

0 Answers  


What does the trace option do?

0 Answers  


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?

2 Answers  






describe about physical data integration? : Sas-di

0 Answers  


what is SAS/Access and SAS/Connect?what are the uses?

3 Answers  


How will you generate test data with no input data?

0 Answers  


Explain what is data step?

0 Answers  


what are all the default values getting in PROC MEANS...???

2 Answers  


Differences between where and if statement?

0 Answers  


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

0 Answers  


Categories