JAVA-GEN-STRG

Restriction: This directive affects native COBOL programs only.
Creates the Java wrapper class, strg.java, that is used when you are sharing Working-Storage items from a native COBOL program with Java.

The strg.java file is used to make the COBOL data accessible to Java, so that it can both read and update the items. See COBOL Working Storage Accessible to Java Programs for more information.

Syntax:

>>-.---.---.----.---JAVA-GEN-STRG-------><
   +-/-+   +-NO-+  

Parameters:

none.

Properties:

Default: NOJAVA-GEN-STRG
Phase: Syntax check
$SET: Initial

Comments:

The location of the generated file is determined by the JAVA-PACKAGE-NAME and JAVA-OUTPUT-PATH directives.

If you are sharing Working-Storage items from more than one COBOL program, you must use the genjava utility to produce the strg.java file; see The genjava Utility for more information.