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

List down the reasons for choosing sas over other data analytics tools.

1035


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

738


What are the features of SAS?

782


Explain what Proc glm does?

824


How many ways to overcome a missing values???

2542


How long can a macro variable be? A token? : sas-macro

928


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1957


how do you want missing values handled? : Sas programming

706


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2178


What is a put statement?

915


Which command is used to perform sorting in sas program?

781


How to limit decimal places for the variable using proc means?

804


If you could design your ideal job, what would it look like?

2668


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

815


What is data _null_?

886