title: SAS: How to Prevent ABORT on Error
body: <p>I have an expected error with <code>&amp;syserr.</code> of <code>1020</code>.  When the error is encountered, the program terminates with the following message:</p>
  
  <pre><code>FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.
         Aborted during the EXECUTION phase.
  </code></pre>
  
  <p>I know what the problem is and there is no solution for it.  However, since I know what causes the problem, I want to alert the user of how to fix it before the program terminates.</p>
  
  <p>That is, between when the error occurs and when the program is aborted, I want to execute some code.</p>
  
  <p>I've scoured the internet and could not find anything which said this couldn't be done.  In fact, many answers on SO implied it could be done.  But I have no idea how.</p>