How Job Management Manager Works › Prefunctions and Postfunctions › Prefunction and Postfunction Processing Rules
Prefunction and Postfunction Processing Rules
- If the prefunction ends with an error, Job Management Manager does not process the primary command, and ends the entire job with an error.
- If the prefunction completes successfully, the manager processes the primary command of job.
- The manager processes the postfunction, regardless of whether the primary command of job completes successfully or terminates with an error.
- If the postfunction completes successfully, the manager notifies you that the job completed successfully. If the primary DCL command of job ended with an error, the manager reports those errors in the specified output file of job (if any).
- If the postfunction ends with an error, the manager notifies you that the entire job ended with an error, even if the primary DCL command of job completed successfully.