Build error messages

All build errors are a result of linking problems.
Error Message Resolution
unresolved external symbol _MFHCOCD2@4 In the Project Properties for your project, on the COBOL Link tab add the appropriate MFDSNTIAR.LIB file. This file resides in your %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\lib or %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\lib64 directory, depending on whether you are building a 32-bit or 64-bit application.
unresolved external symbol _mfsqlsmf@20 In the Project Properties for your project, on the COBOL Link tab add the appropriate MFSQLSMF.LIB file. This file resides in your %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\lib or %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\lib64 directory, depending on whether you are building a 32-bit or 64-bit application.

If the application does not run under Enterprise Server, you can compile the program with SQL(NOSMFTRACE) directive.