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 / thanwi

Using %eval function

Is This Answer Correct ?    4 Yes 0 No

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

Answer / ganesh

If it is an integer we can use %eval ..
If it has decimal values then %sysevalf..

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SAS Interview Questions

proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


Can we replace a dataset into view?

6 Answers   CliniRx,


what are input dataset and output dataset options?

6 Answers   HCL,


What are the 3 components in sas programming?

0 Answers  


what is the primary data source for the wrs? : Sas-bi

0 Answers  






why only we use SAS? their r many programmin language like SPSS, Oracle... Why SAS?

2 Answers   Accenture,


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

0 Answers  


what are sas/access and sas/connect? : Sas programming

0 Answers  


what is AE onset date and what is RDS?

4 Answers   Accenture,


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

0 Answers  


what is transformation in sas data integration? : Sas-di

0 Answers  


how many types of prompts are there? : Sas-bi

0 Answers  


Categories