! ANSYS $RCSfile: QAONERR.MAC,v $
! Modified on $Date: 2010-11-14 13:40:31 -0500 (Sun, 14 Nov 2010) $ 
! Source ID = $Revision: 435640 $
/nopr    ! qaonerr macro
! >>  This macro will check the number of errors in the ANSYS run vs    <<
! >>  last known number of errors. Then If it is more, it will direct   <<
! >>  the output to a scratch file and will issue "finish" command to   <<
! >>  get out of that section. The out put will be restored by the      <<
! >>   "cleanup"  macro at the beginning of next section.               <<
*get,err1,active,,erro
*if,err1,gt,erro,then
*msg,info
 _>>>> output from here to the beginning of the next test <<<< %/&
>>>> section is removed due to the error(s) encountered <<<<
/out,scratch
finish
*endif
/gopr
