Tell different ways to create Macrovarible?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
In SAS explain which statement does not perform automatic conversions in comparisons?
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.
why a stop statement is needed for the point= option on a set statement?
What does the trace option do?
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?
describe about physical data integration? : Sas-di
what is SAS/Access and SAS/Connect?what are the uses?
How will you generate test data with no input data?
Explain what is data step?
what are all the default values getting in PROC MEANS...???
Differences between where and if statement?
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