what is Global Symbol table and Local symbol table?
Answers were Sorted based on User's Feedback
Answer / rammy.uf
Thats true Vinod.
1. % Global the macro variables are stored in Global Symbol
table for % Local the macro variables are stored in Local
Symbol table
2. You can use the global macro in open code. It is
impossible with Local coz it can be used only inside macro
definition
3.The local get erazed after execution of the programme
wheras the global ends after the session close .
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / veena basani
as of i know in sas macros the %global variables we can use
any where in the sas application bus %local variable we can
use with in the macro. please correct me if am wrong
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / vinod
I know that the macro variable values are stored in the
global symbol table if it is global variable and are stored
in local symbol tables if they are local varibles.I've just
an idea about these so i'm providing this answer only can
any one comment on this
| Is This Answer Correct ? | 5 Yes | 8 No |
Answer / ganesh k
table which has list of all Global and Local variables.
will have the MacroVariableName and it's Value.
| Is This Answer Correct ? | 0 Yes | 5 No |
libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak
what are _numeric_ and _character_ and what do they do? : Sas programming
How to specify variables to be processed by the freq procedure?
how does sas handle missing values in an update? : Sas programming
What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???
What are the difference between ceil and floor functions in sas?
What are the efficacy variables in your study?
2 Answers Accenture, Quintiles,
What is highest missing value for numeric?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
Can we replace a dataset into view?
What's the difference between VAR A1 - A4 and VAR A1 - A4?
How would you compile all macros from a folder in a study, within the autoexec program?