9.1 Copy Files

All source files of the application which imply any reference to the DM have to include the files IDMcobws.cob or IDMcobls.cob provided by the DM. Depending on where these files were installed, the include path for the compiler has to be set.

If, in the application, COBOL functions are included which are called directly by the DM and which have a record as parameter, the COBOL file generated of the DM via the option +writetrampolin has to be copied into the respective module in the linkage storage section, too. It is the only way you can access this structure in the COBOL program.

Apart from these COBOL copy files the following C Include files are necessary to create a runnable COBOL-DM program.