COBRT090 Re-initialization of Run-Time System not supported (Fatal)

You have called a COBOL entry point or COBOL routine, such as cobinit(), between COBOL run-time system de-initialisation and process termination.

This can occur when:

  • The cobtidy() API was previously called to de-initialise the COBOL run-time system. Only call cobtidy() when all COBOL modules have exited and you do not intend to call any COBOL functionality or COBOL routines again, in any thread, in the current process.
  • A callback routine, previously posted with the operating system's atexit() API, has been called. Use the CBL_EXIT_PROC API instead of using atexit().
  • An operating system, or third party, thread calls COBOL functionality or COBOL routines, for the first time, during COBOL run-time system termination.