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 .NET COBOL code.
$set comp5byteorder(portable) 01 i1 pic 9(9) comp-5 value 3. display i1