You have specified the
compiler directive to compile a native application, or you have specified DB2 compiler directive options to compile a
JVM COBOL code application. DB2 is supported for native applications only.
Resolution:
Recompile using compiler directives appropriate to your application type.