title: Macro sas difference between %str and %bquote
body: <p>Sample Code :-</p>
  
  <pre><code>%Let a = begin;
  
  %let b1 = %str(&amp;a);
  
  %let b2 = %nrstr(&amp;a);
  
  %let b3 = %bquote(&amp;a);
  
  %let b4 = %nrbquote(&amp;a);
  
  %let b = end;
  </code></pre>
  
  <p>Actual Output :-</p>
  
  <pre><code>b1 = begin 
  b2 = &amp;a 
  b3 = begin 
  b4 = begin
  </code></pre>
  
  <p>Expected Output :-</p>
  
  <pre><code>b3 = end     
  b4 = &amp;a
  </code></pre>
  
  <p>Is this because bquote and nrquote are execution time whereas str and nrstr are compile time ?</p>