Problem:
When compiled to GNT the application just terminated with no error being output. However when it was built to INT it worked successfully.
The last event from a COBOL runtime Consolidated Trace output was an exit program event.
Resolution:
The top level program in this case was C and it used cobcall to invoke the COBOL.
Errors such as this are usually down to the application exceeding stack size. Recursion and local storage all contribute to the stack usage.
To increase the stack size by using the /STACK option of the Microsoft Linker. Using another linker then please see the documentation supplied with your linker.