The acu_cancel() function marks a program as "cached" and resets Working Storage to its initial state for the next call. This function is equivalent to the CANCEL verb.


void ASTDCALL acu_cancel(char *name); 

If the user has specified that the program is not to be cached, then acu_cancel() also unloads the program from memory so that a new copy is loaded from disk the next time the program is called.

For more information on using this function, refer to the topic Unloading Programs from Memory.