Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

3.2.2 Constructing a Program

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:

Construct a program as follows:

  1. Create a new project using the project manager.

  2. Register the target executable program (EXE).

  3. Create a COBOL source file folder and store the program source in it.

  4. 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.

  5. 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.

  6. Execute "build."