#include "cobcall.h" void cobcancel (const cobchar_t *name);
If name is a COBOL program, the data contained in the program is returned to its initial state as defined for the COBOL CANCEL verb.
If name is a C function then its data is unchanged.
If name does not correspond to any loaded COBOL entry point or C function no action occurs and this function returns as normal.
cancel "name"
To cancel the COBOL entry point cobep:
cobcancel("cobep");
Comments:
If name is a COBOL program, the data contained in the program is returned to its initial state as defined for the COBOL CANCEL verb.
If name is a C function then its data is unchanged.
If name does not correspond to any loaded COBOL entry point or C function no action occurs and this function returns as normal.