Interviewer And Interviewee Guide

SAS (Statistical Analysis System) Interview Question:

How to add a number to a macro variable?

Submitted by: Administrator
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;
Submitted by: Administrator

Read Online SAS (Statistical Analysis System) Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

Interview Questions Answers .ORG