The acu_cancel_all() function performs an acu_cancel() on all "Loaded but inactive" programs. This function is equivalent to the CANCEL ALL verb.
void ASTDCALL acu_cancel_all(void);
Application servers such as CICS should call acu_cancel_all() after every acu_cobol() call returns. Subsequent calls to the same program and its called subprograms will then have Working-Storage items in their initial state.
For more information on using this function, refer to the topic Unloading Programs from Memory.