INVGTMEXIT, Inappropriate invocation of gtm_exit. gtm_exit cannot be invoked from external calls.
Run Time/Call-in Error: This indicates that the call-in shut-down function gtm_exit() has been called from an external call C function. Since the GT.M run-time system must be operational even after the external call function returns, gtm_exit() is meant to be called only once during a process lifetime, and only from the base C/C++ program when GT.M functions are no longer required by the program.
Action: Remove all invocations of gtm_exit() from external call functions.