Finally, compile and link-edit the generated adapter class source to create an adapter class library (DLL).
Refer to the "Fujitsu NetCOBOL User's Guide" for information on how to use the COBOL project manager.
Follow the procedure below to build an adapter class:
Create a new project using the project manager.
Register the target DLL.
Create a COBOL source file folder and store the generated adapter class in it.
Specify compiler options.
Specify folder-name\REP (folder-name is the J adapter class generator install folder) for REPIN.
Specify ALPHAL (WORD).
When creating an adapter class running with Unicode, specify ENCODE(UTF8).
When creating a multi thread application, specify THREAD(MULTI).
To determine the compilation order, select "Repository File Search" from the "Edit" menu and then select "All".
Create a library folder and store the runtime library F3BIJART.LIB of the J adapter class generator in it. F3BIJART.LIB exists in the install folder.
Execute "build."
The following files are generated. These files are required for using adapter class:
Adapter class DLL file (required for execution)
Adapter class LIB file (required for link-edit)
Adapter class repository file (required for compilation)