COBCH2348 JAVA-SHAREABLE already in OFF state

The Compiler has encountered a JAVA-SHAREABLE OFF source directive without a preceding JAVA-SHAREABLE ON directive.

You must either add a preceding JAVA-SHAREABLE ON directive or remove the JAVA-SHAREABLE OFF directive, as the JAVA-SHAREABLE directive works in pairs; for example:

       ...
       working-storage section.
       >>JAVA-SHAREABLE ON 
       01 grp1.
          03 i1 pic x.
          03 i2 pic 9.
       >>JAVA-SHAREABLE OFF
       01 grp2.
          03 p1 pic x.
          03 p2 pic 9.       
       ...