% let A=3+4 what is result

Answers were Sorted based on User's Feedback



% let A=3+4 what is result..

Answer / narsireddy

u r resolving A u will get 3+4(String)

Is This Answer Correct ?    11 Yes 0 No

% let A=3+4 what is result..

Answer / srinivasreddy

%let a=%eval(3+4);
%put &a;

answers is : 7

Is This Answer Correct ?    8 Yes 1 No

% let A=3+4 what is result..

Answer / narendra

%let A=3+4;
%put &a;
Answer is 3+4.

If you do like this

%let a=%eval(3+4);
%put &a;
Then answer is 7

Is This Answer Correct ?    3 Yes 0 No

% let A=3+4 what is result..

Answer / santosh

where macro variables supports only character type data
here the global macro variable gets created as the value of A
is 3+4

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?

4 Answers  


how are numeric and character missing values represented internally? : Sas programming

0 Answers  


how can u extract,transform and loading?

2 Answers   CitiGroup,


what are the methods that you would employ to fine tune your SQL extract process using SAS/Access or Proc SQL?

1 Answers  


what are the component of range? : Sas-bi

0 Answers  






which stats created by proc means that are not created by proc summary or vice versa?

2 Answers   GSK,


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? : sas-macro

0 Answers  


how can you create zero observation dataset? : Sas programming

0 Answers  


Write a SAS macro to calculate number of numbers in an email address

2 Answers  


Which are SAS Windows Clients & SAS Java Clients

3 Answers   TCS,


Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


What are the 3 components in sas programming?

0 Answers  


Categories