Created On:  2010-04-27

Problem:

A COBOL subprogram that used to run successfully with the old Micro Focus Workbench now fails with RTS 114 after it was recompiled with Net Express. The program is compiled with INITCALL"STE.DLL", which is a C DLL.

Resolution:

To resolve this problem is to load the DLL as follows:

1. Define a PROCEDURE-POINTER field, for example, 01 MyDllPtr PROCEDURE-POINTER.
2. Insert a SET ... TO ENTRY ... statement at the beginning of the PROCEDURE DIVISION, e.g. SET MyDllPtr TO ENTRY "STE.DLL"
Incident #2419099