Interoperability Options

--javaclass Generates a .java file in addition to an .acu file. The .java file has the same prefix as the .acu file and is placed in the same directory. This .java file is a Java class that calls the COBOL program being compiled. See Calling COBOL from Java for more information.
--javamain Generates a .java file in addition to an .acu file. The .java file has the same prefix as the .acu file and is placed in the same directory. This .java file is a Java class with a main method added. This class calls the COBOL program that is being compiled. See Calling COBOL from Java for more information.
--netexe
Note: This option requires the .NET Framework 2.0 SDK.

Generates a .NET-compatible executable file for command-line execution. The name of the executable file is the name of the program followed by .exe. All valid ACUCOBOL-GT command-line options can be specified with the executable file, as well as any of the following Linkage Section parameters:

  • -int:
  • -string:
  • -uint:
  • -short:
  • -ushort:
  • -float:
  • -double:
  • -long:
  • -ulong:
  • -byte:

See Calling COBOL from Java for more information.

--netdll
Note: This option requires the .NET Framework 2.0 SDK.

Generates a .NET-compatible dynamic link library (DLL) that gives .NET assemblies — both executables and DLLs — a programmatic interface to your COBOL program. All COBOL entry points are exposed as .NET methods along with ACUCOBOL-GT runtime properties and methods. This allows .NET programmers to set ACUCOBOL-GT command options and call runtime interfaces from their .NET assembly.