Instructs the preprocessor to generate code that dynamically loads associated DB2 modules at run time.




Default: PRE


PRE must be used when creating INT or GNT files.

When compiling with the LITLINK compiler directive on Windows platforms only, specify NOPRE to prevent possible link errors. Because NOPRE stops the code generation that loads the associated DB2 modules at run time, you must link your application with the appropriate MFHCO import library, mfhcolib.lib (32-bit version located in ; 64-bit version located in ). To do this, add the relevant .lib file to the Link with libs field on the COBOL Link tab of your project properties, or specify it as a cbllink option when linking from the command line. Doing this ensures that the DB2 modules are loaded at run time.