Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.3.2 JVM-TERMINATE Method (factory method)

Explanation

The current thread is isolated from the Java VM. In the multithread applications, the current thread must be isolated from Java VM before the thread is terminated.

Also, when it is called by the last thread in a process, Java VM is terminated. It is used when the adapter class is used no more.

Syntax

INVOKE FJ-JAVA-CONTROL "JVM-TERMINATE"

Note

An error occurs when this method is invoked two or more times in one process.