title: SAS Email If Errors Occur
body: <p>is there any code/macro I can incorporate into my sas program that will email me as soon as an error occurs in my sas code while it is running?</p>
  
  <p>Also is it possible for this email to contain the error that happened?</p>