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...


How do you add a number to a macro variable?

Answers were Sorted based on User's Feedback



How do you add a number to a macro variable?..

Answer / hsong001

Use %eval to do simple calculation for macro variables.
e.g.,
data _null_;
%let a = 1;
%let b = %eval(&a+1);
%put a=&a b=&b;
run;

Is This Answer Correct ?    9 Yes 0 No

How do you add a number to a macro variable?..

Answer / ravi

%let=1;

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SAS Interview Questions

This entry was posted in General. Bookmark the permalink. Post a comment or leave

0 Answers   Quintiles,


where are dashboard components are created and maintained? : Sas-bi

0 Answers  


Explain data_null_?

0 Answers  


How does proc sql work?

0 Answers  


What does the RUN statement do?

0 Answers   Quintiles,


% let A=3+4 what is result

4 Answers   Satyam,


how do u identify a macro variable

5 Answers  


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


Mention the difference between ceil and floor functions in sas?

0 Answers  


What is the difference between %put and symbolgen? : sas-macro

0 Answers  


State the difference between INFORMAT and FORMAT ?

0 Answers  


tell me about intnx, intcx functions?

4 Answers   CitiGroup,


Categories