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

Which command is used to save logs in the external file?

0 Answers  


What is maximum storage capability of SAS?

0 Answers  


How would you include common or reuse to be processed along with your statements?

0 Answers  


Hi, If anyone has base SAS certification dumps, please share.

0 Answers  


How necessary is it to be creative in your work?

0 Answers   Oracle,


how to handle in stream data containing semicolon in it?

3 Answers  


hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..

14 Answers  


Name and describe few sas character functions that are used for data cleaning in brief.

0 Answers  


What will calendar procedure do?

0 Answers  


What are the five ways to do a table lookup in sas? : sas-grid-administration

0 Answers  


Explain the use of proc gplot? : sas-grid-administration

0 Answers  


Have you used macros? For what purpose you have used? : sas-macro

0 Answers  


Categories