Problem:
Any non COBOL main program that calls any COBOL application, including Micro Focus EXTFH, needs to be linked using the Micro Focus cob interface.
Resolution:
You can find 2 references in the documentation at:
http://support.microfocus.com/Documentation/books/sx50/sx50indx.htm
- Bookshelf > Program Development > 11. Interfacing with C Programs
- Bookshelf > User's Guide > 8. Linking to System Executables > Simple default linking
And also, within the cob flags section also in Bookshelf > User's Guide > 10. Descriptions of cob Flags, the following flags might be of interest:
-CC c_ption
CC cplus_option
-Q ld_option
among others...
#RMCOBOL
#AcuCobol
#COBOL
#ServerExpress
#netexpress