Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

9.9.1 Life span of DLL's created by PowerCOBOL

A DLL created by PowerCOBOL is loaded when an included form in the DLL is opened, and the DLL is unloaded when all included forms are closed. After unloading, the values of all data items are cleared.

You should thus make an entry (COBOL sub program) in the DLL and link it into the application that calls the DLL when the application is loaded if you need to keep the DLL loaded between the application start and finish.

Refer to the COBOL User's Guide for details of dynamic structure linking.