trapping errors
I am using unixs script to submit programs (SQRS) and need to trap any time of error that is received once the job finishes.
Examples of the type of errors I am getting
Error! SQR Failed To Process
mkdir: Failed to make directory
These are showing up in a log file but I do not want to have to grep on the log file for every possible text string.
I am new to unix , although I have had exposure in the pass to it. Would welcome direction and help in how to code for errors.
|