title: How to print the first 10 and last 10 observations in SAS?
body: <p>I'm trying to find a way to only print the first 10 and last 10 observations of my SAS dataset. Is there a way I could do this?</p>
  
  <p>I tried <code>proc print data = ia.usage; where Obs &lt; 10 &amp; Obs &gt; 80;run;</code>
  But the command still prints out all 90 observations. Any idea on how to do this easily?</p>
  
  <p>Thanks.</p>