This API drives an event into any vendor heap manager. It drives
the _VHM_REPORT event argument with _VHM_REPORT_CLEAR as the optional
argument in MEMCHECK VHM.
Restrictions: - The API supports C/C++ and Enterprise PL/I applications. COBOL
and FORTRAN are not supported
- The vendor heap manager _CEE_HEAP_MANAGER environment variable
must be active.
Syntax
#include <edcwccwi.h>
int__vhm_event (int event,...)
- event
- The VHM event to execute. The API calls the __cee_heap_manager()
function with the event as argument. The _VHM_REPORT event generates
the 'Heap Leak Report' and writes it in the Language EnvironmentOutputFileName .
The edcwccwi header contains the prototype of __vhm_event() API: Int
__vhm_event(Int, char *).
- ...
- An optional argument that can be used to set special options in
the event to be driven.
For more information on the Heap Leak Report and the heap manager,
see z/OS Language Environment Debugging Guide.