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 the use of % includes a statement in sas? : Sas-administrator

943


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

1076


Which date function advances a date, time or datetime value by a given interval?

1079


What do you code to create a macro? : sas-macro

1064


What is program data vector (pdv)?

1189


What is the length assigned to the target variable by the scan function?

1095


how to read the variables in sas? : Sas-administrator

962


how would you determine the number of missing or nonmissing values in computations? : Sas programming

1093


Have you ever used the SAS Debugger?

1693


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1055


Where do you use proc means over proc freq?

1052


which features do you use to check the data validations and errors? : Sas-administrator

999


What would be the value of month at the end of data step execution and how many observations would be there?

1059


How many data types are there in SAS?

1005


What are the different versions of sas that you have used until now? : sas-grid-administration

1272