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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What versions of SAS have you used (on which platforms)?

1233


What is your favorite all time computer book? Why?

2240


What are the table names in oracle database...?

2484


why is sas considered self-documenting? : Sas programming

856


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2582


Can you execute a macro within a macro? Describe. : sas-macro

853


Explain proc univariate?

786


If a variable contains letters or special characters, can it be numeric data type?

969


Explain the main difference between the sas procedures and functions? : Sas-administrator

754


How will you generate test data with no input data?

799


what are the types of interactive display types? : Sas-bi

835


what are several options for creating reports in web report studio? : Sas-bi

839


What can you learn from the SAS log when debugging?

1105


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

766


How to create a permanent sas data set?

858