Previous Topic Next topic Print topic


Enable Language Environment (LE) Support

You enable Language Environment (LE) support by using either the INITCALL"mfleinit" Compiler directive, or by adding a call to mfleinitin your code. The method used depends on how you intend to use the support.

Managed JVM

The Language Environment utilities are also available in managed code applications. To use them, include the mfle370.jar file on the classpath.
  • On Windows:
    • For 32-bit environments use the mfle370.jar file located at %ProgramFiles(x86)%\Micro Focus\Visual COBOL for Visual Studio 2012\bin.
    • For 64-bit environments you must use a 64-bit JVM. The mfle370.jar file is located at %ProgramFiles(x86)%\Micro Focus\Visual COBOL for Visual Studio 2012\bin64.
  • On UNIX:
    • For 32-bit environments use the mfle370.jar file located at /lib.
    • For 64-bit environments you must use a 64-bit JVM. The mfle370_64.jar file is located at /lib.
In your JVM COBOL program, include the Compiler option ILUSING"com.microfocus.le370". For a Java program include the statement import com.microfocus.le370.*;.
Previous Topic Next topic Print topic