Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is the use of LRECL option.

1 Answers   L&T,


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


What is the difference between where and if statement?

0 Answers  


i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?

5 Answers   L&T,


What other SAS features do you use for error trapping and data validation?

2 Answers  


what is the difference between %put and symbolgen?

6 Answers  


Mention sas system options to debug sas macros.

0 Answers  


name several ways to achieve efficiency in your program? : Sas programming

0 Answers  


sas macros

12 Answers   TCS,


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,


Explain data step in SAS

0 Answers  


Which command is used to save logs in the external file?

0 Answers  


Categories