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 parameters of scan function?

0 Answers  


What are the differences between proc means and proc summary?

0 Answers  


What is the difference between the proc sql and data step?

0 Answers  


why only we use SAS? their r many programmin language like SPSS, Oracle... Why SAS?

2 Answers   Accenture,


What is the difference between reading data from an external file and reading data from an existing data set?

0 Answers  






What does PROC print, and PROC contents do?

0 Answers  


Name the option to produce a frequency line items rather that a table.

2 Answers  


Hot to suppress characters from a given string?

4 Answers   CTS,


how to delete the duplicate columns permanently in SQL

2 Answers   Satyam,


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


What is data _null_?

0 Answers  


In the flow of DATA step processing, what is the first action in a typical DATA Step?

9 Answers  


Categories