The returnCode value can be 4 through 15.
The returnCode value determines the cleanup_rc value in the XSVRXERR (server processing error) 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:
- If the cleanup_rc value is 0, you did not specify a returnValue value, and XSVRXERR determines the cleanup_rc value and the product's final return code.
- If the cleanup_rc value is not 0, the product's final return code is the greater of its previously set value and the cleanup_rc value.
WarningImportant
If you are using SmartSwitch or worklist processing in , the returnCode value is ignored and the product's final return code is its previously set value.
- If you configure or specify +CLEANUP(YES) with no return code specified, the cleanup returns RC=4.
- If you configure +CLEANUP(YES,7) and then in the utility job specify +CLEANUP(YES), which does not override the return code, the configured RC=7 remains in effect.
- Cleanup does not occur with objects left in a Must Complete (RC16) status in . Must Complete means cleanup is not possible, and you must complete the process by rerunning with RESTART or QUICKEXIT.
(BMC.DB2.SPE2601)
(for BMC AMI Reorg and BMC AMI Load)
*************************************************************************
******WARNING*ATTENTION*WARNING*ATTENTION*WARNING*ATTENTION*WARNING******
*************************************************************************
** BMC AMI UTILITY HAS FAILED WITH A RETURN CODE OF 16, LEAVING THE ***
** UTILITY ID (UID) IN A MUST COMPLETE STATE FOR DBNAME.TSNAME. ***
** DO NOT RECOVER THE OBJECT. DO NOT CHANGE THE STATUS OF THE OBJECT. ***
** RERUN THE BMC AMI REORG WITH QUICKEXIT PARAMETER SUCH AS ***
** PARM='DB2ID,UID,QUICKEXIT' ***
** CODED IN THE STEP EXEC CARD. ***
** VERIFY THE OBJECT IS IN RW STATUS AFTER THE QUICKEXIT COMPLETES. ***
*************************************************************************
******WARNING*ATTENTION*WARNING*ATTENTION*WARNING*ATTENTION*WARNING******
*************************************************************************