title: select a1-a100 observations & delete rest observation in sas
body: <p>I have a dataset named <code>b</code> about various customer named as <code>a1</code>,<code>a2</code>,<code>a45</code>,<code>a345</code>,<code>a999</code>,<code>a654</code>, etc.</p>
  
  <p>I would like to select customer named between <code>a1</code>-<code>a100</code> and discard others.
  I tried this code:</p>
  
  <pre><code>data a;
  set b;
  where customer ne a1-a100;
  run;
  </code></pre>
  
  <p>But I am getting this error</p>
  
  <blockquote>
    <p>ERROR: Variable a1 is not on file b.</p>
  </blockquote>