CPFAIL – How to handle Current Plan modification failure

PIF commands that update elements in the current plan, such as MODIFY and INSERT, by default will end with RC=8 if they fail. This does not prevent Workload Automation Programming Language from continuing processing, and might result in incomplete updates being committed by a subsequent EXECUTE statement. The CPFAIL option prevents this from happening.

Possible values are:
ABORT
Message EQQI148F is issued, causing RC=12 which stops any further Workload Automation Programming Language processing (default).
ERROR
Leaves the command ending with RC=8.