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

how can you code the confidence intervals?

6 Answers   Cytel, IIT, Ranbaxy,


Can you excute a macro within a macro? Describe.

2 Answers   Genta,


how to do user inputs and command line arguments in sas?

0 Answers   D&B, TCS,


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


Tell me more about the parameters in macro? : sas-macro

0 Answers  






how to generate the test data in sas without input data? : Sas-administrator

0 Answers  


what is the primary data source for the wrs? : Sas-bi

0 Answers  


What’s the difference between var b1 – b3 and var b1 — b3?

0 Answers  


How to sort in descending order?

0 Answers  


how to generate means for every subject;

4 Answers   Mind Tree,


what is the use of proc sql? : Sas programming

0 Answers  


what is p-value

3 Answers   Accenture, Quintiles, Sristek,


Categories