Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If you need the value of a variable rather than the
variable itself what would you use to load the value to a
macro variable?

Answer Posted / chaitanya

If we need a value of a macro variable then we must define
it in such terms so that we can call them everywhere in the
program. Define it as Global. There are different ways of
assigning a global variable. Simplest method is %LET.

Ex: A, is macro variable. Use following statement to assign
the value of a rather than the variable itselfe.g.

%Let A=xyz x="&A";

This will assign "xyz" to x, not the variable xyz to x.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what is data set in sas? : Sas-administrator

992


What do the mod and int function do? : Sas programming

1229


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

1008


What are the ways in which macro variables can be created in sas programming?

1103


Approximately what date is represented by the SAS date value of 730?

1217


Given an unsorted data set, how to read the last observation to a new data set?

1355


what can you learn from the sas log when debugging? : Sas programming

1089


How you can read the variables that you need?

1125


What are types of transport files?

8000


I have a dataset concat having variable a b & c. How to rename a b to e & f?

1022


How can I remove header from output data set?

2623


What is the use of function Proc summary?

1284


what is business intelligence? : Sas-bi

1068


how does sas handle missing values in assignment statements? : Sas programming

1021


What are the statements that are executed only?

1150