I'm looking to create a UNIX script to execute a process defined as a QAD Batch request. The script will be executed using the mpro -b command. If one of the steps in the batch fails, I want to pass the error code back to the UNIX script and have it perform some error handling. Does anyone have any experience/suggestions on how to accomplish this?