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

what are all the reports you generated in your recent project?

2253


for report generation which one you used proc report or data_null_?

7932


Tell e how how dealt with..

2264


Name any two sas spawners? : sas-grid-administration

1092


Tell e how how dealt with..

2311


Which command is used to perform sorting in sas program?

1093


What is SAS? What are the functions does it performs?

1244


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

1076


What does P-value signify about the statistical data?

1400


Differentiate between proc means and proc summary.

1100


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

1444


Differentiate between format and informat? : sas-grid-administration

1120


Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??

2671


what is factor analysis? : Sas-administrator

1144


Name validation tools used in SAS

1217