what are all the ways to define macro variable??

Answers were Sorted based on User's Feedback



what are all the ways to define macro variable??..

Answer / rahul

%Let
Iterative %DO statement
%GLOBAL statement
%INPUT statement
INTO clause of the SELECT statement in SQL
%LOCAL statement
%MACRO statement
SYMPUT routine and SYMPUTN routine in SCL
%WINDOW statement

Is This Answer Correct ?    12 Yes 0 No

what are all the ways to define macro variable??..

Answer / varun kumar

There are 5 ways to create a macro avriable.
1)using %LET statement.
2)Using %GLOBAL statement.
3)Using "CALL SYMPUT" routine.
4)Using Proc Sql.
5)Through parameters.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SAS Interview Questions

What are the automatic variables for macro? : sas-macro

0 Answers  


Did you used proc lifetest? when?

2 Answers   Accenture, Parexel, Quintiles,


Why is SAS considered self-documenting?

1 Answers   Quintiles,


where to use sas business intelligence? : Sas-bi

0 Answers  


how many types of prompts are there? : Sas-bi

0 Answers  


Explain what Proc glm does?

0 Answers  


WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.

4 Answers   Genzyme,


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

0 Answers  


In a shcool there are 1000 students. After completion of every test in 6 subjects , each subject teacher submit the marks of every student at different times and loaded in the database commonly. How will you seperate the top two subject marks for each each studet using SAS?

6 Answers  


Name statements that are recognized at compile time only?

3 Answers   Accenture,


which date functions advances a date time or date/time value by a given interval? : Sas programming

0 Answers  


name some data transformation used in sas di? : Sas-di

0 Answers  


Categories