This problem is resolved by making sure that CACCASH0 (the CAICUI shutdown program) is the first program in the DFHPLTSD.
If using the supplied copybook, then ensure that COPY CAAUPLTS is the first statements after COPY IESZPLS2, and is before DFHDELIM, e.g.:
*-------------------------------------------------------------- COPY IESZPLS2 COPY VSE/ESA ENTRIES *-------------------------------------------------------------- * LOCAL ENTRIES TO BE EXECUTED DURING FIRST QUIESCE PHASE * SHOULD BE MADE AFTER THIS POINT *-------------------------------------------------------------- COPY CAAUPLTS DFHPLT TYPE=ENTRY,PROGRAM=DFH0STAT * COPY C26PLTB SPACE 3 DFHPLT TYPE=ENTRY,PROGRAM=DFHDELIM *
Alternatively, you can terminate CUI by using the ASH0 transaction.
Note for customer running VSE/ICCF: they must replace IESZPLS2 by IESZPLTS in the above text.