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

Generates a .NET 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.

Note: On Windows 7, compiling with this option may fail due a missing al.exe, which is not included as a utility with Windows 7. To fix this, download and install the Microsoft .Net framework SDK and then try compiling with this option.
--netdll Generates a .NET 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.
Note: On Windows 7, compiling with this option may fail due a missing al.exe, which is not included as a utility with Windows 7. To fix this, download and install the Microsoft .Net framework SDK and then try compiling with this option.