How to Pass Return codes back to UNIX from MPRO

mrmikedb

New Member
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?
 
Why not write out to an OS file (from within your Progress batch job) and have your Unix script check the file (either for existence or for specific date) to determine whether the next step of the Unix script should be run ....
 
Back
Top