This section explains how to construct a program that uses an adapter class, by using the COBOL project manager.
The following files generated from the adapter class are required to construct a program:
Adapter class LIB file (for linkage)
Adapter class repository file (for compilation)
Construct a program as follows:
Create a new project using the project manager.
Register the target executable program (EXE).
Create a COBOL source file folder and store the program source in it.
Create a library file folder, and store the adapter class LIB file and J adapter class generator runtime library F3BIJART.LIB in it. F3BIJART.LIB exists in the install folder.
Specify compiler and link options:
For REPIN, specify folder-name\REP (folder-name is the J adapter class generator install folder) and the folder containing the adapter class repository.
Specify ALPHAL (WORD) or NOALPHAL.
When creating a program running with Unicode, specify ENCODE(UTF8).
When creating a multi thread application, specify THREAD(MULTI).
Refer to the "NetCOBOL User's Guide" for other options.
Execute "build."