When warnings occur for jobs that are submitted to a SAS grid in SAS Management Console, the job status might be displayed as an error instead of a warning. By default, SAS Management Console provides an alert for jobs that encounter warnings. However, the job status should be displayed as a warning.
To correct this problem so that the job status is appropriately displayed as a warning, do the following.
Open the sasgrid.cmd file that is located in the \Lev1\SASxxx\GridServer directory and add the following to the end of the file:
if %SASRC%==1 goto makenormalexit exit /b %SASRC% :makenormalexit exit /b 0
Open the sasgrid file located in the /Lev1/SASxxx/GridServer directory and add the following at the end of the file:
# Add this code to capture exit=1 (SAS warning) and make it exit=0 eval $cmd rc=$? if [ $rc -eq 1 ]; then exit 0 else exit $rc fi