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 is difference between Global n Local Macro Variables..?

Answers were Sorted based on User's Feedback



What is difference between Global n Local Macro Variables..?..

Answer / suman

Two types of scopes exist for macro variables: global and
local. Global macro variables exist for the duration of the
SAS session and can be referenced anywhere in the program--
either inside or outside a macro. Local macro variables
exist only during the execution of the macro in which the
variables are created and have no meaning outside the
defining macro.

Is This Answer Correct ?    31 Yes 0 No

What is difference between Global n Local Macro Variables..?..

Answer / rag_uss

Global macro variables can be used anywhere in the program,
whereas Local macro variable can be used within that macro only.

Is This Answer Correct ?    20 Yes 0 No

What is difference between Global n Local Macro Variables..?..

Answer / vikram s

Global Variables are the one which can be defined at the
beginning of the program and cannot change inside the
program, whereas local variables are the one which can be
instantly with in the program

Is This Answer Correct ?    12 Yes 4 No

What is difference between Global n Local Macro Variables..?..

Answer / sandeep

Global macro variable can be created and used anywhere in
the application and global macro variable value stores in
global symbol tables

Local macro variable can be created and used only inside of
the macro block and local macro variable value stores in
local symbol tables

Is This Answer Correct ?    8 Yes 0 No

What is difference between Global n Local Macro Variables..?..

Answer / balu

global variables,is defined if it is "open code"that is everything outside the macro.and it can be used anywhere in the program.whereas local variables are defined inside the macro.and it is used only inside its own macro.

Is This Answer Correct ?    2 Yes 1 No

What is difference between Global n Local Macro Variables..?..

Answer / prakah

what is above said is exactly right

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More SAS Interview Questions

What sas features do you use to check errors and data validation?

0 Answers  


How could you generate test data with no input data?

6 Answers   Quintiles,


Describe how you would pass data to macro.

3 Answers  


how does sas handle missing values in assignment statements? : Sas programming

0 Answers  


how to generate means for every subject;

4 Answers   Mind Tree,


is QUALCOMM using SAS ?

1 Answers  


what is program data vector? : Sas-administrator

0 Answers  


If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn’t have a value?

3 Answers   Accenture,


how can you improve the performance of a query, If it is excuting very slowly?

2 Answers   Zensar,


How experienced are you with customized reporting and use of Data _Null_ features?

4 Answers   Oracle,


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?

2 Answers  


If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?

7 Answers   Accenture,


Categories