Skip to main content

This article explains the correct Language C to resolve an error 114 message.

Problem:

What is the message Error 114 encountered during finalization when the main module is writen in Language C and calls COBOL modules?

Resolution:

One reason this error is displayed is because cobinit function is used and cobtidy() is not used. The Language C must be as follows:

main( int argc , char *argv[])

{

..

cobinit();

...........

cobtidy();

}

Old KB# 14057