COBCH1866 Directive directive-name not supported in JVM COBOL code

The program has been compiled for JVM COBOL code and includes the specified directive, which is not supported in JVM COBOL code.

Resolution:

Recompile the code without the specified directive, or recompile for native code.

Example:

In the following example, the COMP5BYTEORDER directive is set to PORTABLE, which is not supported for JVM COBOL code.

      $set comp5byteorder(portable)
       01 i1 pic 9(9) comp-5 value 3.
           display i1