What is the difference between %local and %global?



What is the difference between %local and %global?..

Answer / venkatesh

if we write macro variable inside the local it is called local macro we can turn local macro variable into global macro.

if we write macro outside the global it is called global macro we can't turn global macro into local.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?

8 Answers  


Mention what are the data types does SAS contain?

0 Answers  


How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?

1 Answers   Quintiles,


What makes sas stand out to be the best over other data analytics tools?

0 Answers  


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,






Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

0 Answers  


If money were no object, what would you like to do?

0 Answers   Oracle,


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

0 Answers  


what is the difference between %put and symbolgen?

6 Answers  


What is SAS Information Map Studio and its purpose ?

2 Answers   SAS, TCS,


How would you delete observations with duplicate keys?

13 Answers   Accenture,


In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;

1 Answers  


Categories