title: Compare macro value with dataset and goto next level
body: <p>I am having a dataset which one variable is date. I passed some value to macro variable '<strong>frodate</strong>'. Now i want if value is exist in dataset variable date then goto to a label.
  but my program does not perform match. It is show condition is false,but value is in the dataset. Please help to do the same.</p>
  
  <pre><code>DATA _NULL_ ;
  SET STOCK.NIFTY_IDX;
  %IF &amp;FRODATE = DATE %THEN %GOTO NEXT ;
  RUN;
  </code></pre>
  
  <p>I don't understand what mistake i am doing. I know this is a very small problem, but i can't understand the same.</p>