JAVA-GEN-PROGS

Restriction: This directive affects native COBOL programs only.
Creates the Java wrapper class, progs.java, that is used when you make native COBOL programs callable from Java.

The progs.java file is used to make a COBOL program, compiled with the JAVA-CALLABLE directive, accessible to Java. See Java Calling COBOL Programs for more information.

Syntax:

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

Parameters:

none.

Properties:

Default: NOJAVA-GEN-PROGS
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 making more than one COBOL program callable (within the same run unit), you must use the genjava utility to produce the progs.java file; see The genjava Utility for more information.