LE support is enabled by default unless the name of the program you are running begins with 'MF'; in which case, set the INITCALL"MFLEINIT" Compiler directive.
For all other applications running in Enterprise Server, set the environment variable ES_LE370_SUPPORT=Y.
For any other method, for example, an IMS or standard COBOL program, set the INITCALL"MFLEINIT" Compiler directive.
The Language Environment utilities are available in managed COBOL (DOTNET) applications. For verifiable code applications (ILVERIFY) reference the 'MicroFocus.SEE.LE370.Safe' assembly in your application. For non-verifiable applications (ILGEN) reference the assembly 'MicroFocus.SEE.LE370' in your application.
To add the assembly to your application:
In your COBOL program insert a call to MFLEINIT to load the LE support.