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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the use of proc gplot?

702


What are the difference between the sas data step and sas procs?

602


What is factor analysis?

659


what is sas olap server? : Sas-di

683


what is snowflake schema? : Sas-di

689






what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

569


Which command is used to perform sorting in sas program?

593


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1684


What are the features of SAS?

574


Describe what are the different levels of administrative users in sas? : sas-grid-administration

596


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1156


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

549


how would you determine the number of missing or nonmissing values in computations? : Sas programming

650


What are the data types in sas?

603


What is the difference between %put and symbolgen? : sas-macro

665