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

Can you excute a macro within a macro? Describe.

2 Answers   Genta,


what is option year cuttoff in sas

2 Answers   L&T,


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

0 Answers  


What is the differnce between SDTM 3.1.2 to 3.1.1 version

0 Answers   Wipro,


what are the scrubbing procedures in sas? : Sas programming

0 Answers  






What are the uses of sas?

0 Answers  


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

0 Answers  


name few built in sas transformation in DI studio ?

4 Answers   SAS,


what is metadata? : Sas-bi

0 Answers  


what is data governance? : Sas-di

0 Answers  


it will become easy if uuu provide website linkssss and list of consultanciessssss

0 Answers  


What areas of SAS are you most interested in?

0 Answers   Quintiles,


Categories