Cancelling a CALLed C Program

Shared objects loaded with a CALL statement can be unloaded with a CANCEL statement. For information about the CANCEL statement, see CANCEL Statement.

Shared objects loaded with the "-y" runtime option or via the SHARED_LIBRARY_LIST configuration variable cannot be unloaded.


The CANCEL_ALL_DLLS configuration variable can be used to control whether a CANCEL ALL statement frees shared object libraries and DLLs. See CANCEL_ALL_DLLSfor details.