+CLEANUP
Use the +CLEANUP parameter to determine:
- The default cleanup action for an object if the XSVRXERR-server-processing-error-automation-control-point is not in use
- The default action if the XSVRXERR automation control point is in use, in other circumstances
The values are defined as follows:
NO | (default) The object is processed as if ERROR were selected. |
---|---|
YES | The object is processed as if CLEANUP were selected. |
YES,returnCode (PTF BQU0592 applied) | (BMC.DB2.SPE2204) The returnCode value can be 4 through 15. The returnCode value determines the cleanup_rc value in the XSVRXERR automation control point during the cleanup call after the object receives an error. You can subsequently override the cleanup_rc value in the XSVRXERR automation control point. After execution of the XSVRXERR cleanup:
|
+CLEANUP and DELETEOUTPUT have different functions. The appropriate function depends on whether the outcome of a job was successful. +CLEANUP is for jobs that fail when an object is placed on the SKIPPED portion of the ERROR queue. DELETEOUTPUT, by comparison, is for jobs that have run successfully. DELETEOUTPUT determines whether to delete output data sets at the successful end of a job (that is, when the job is marked COMPLETE).
Related topic