Destroying Java Objects

To destroy a Java object, use C$JAVA's CJAVA-DESTROY op-code, and pass a valid object handle:

CALL "C$JAVA" USING CJAVA-DESTROY, OBJECT-HANDLE GIVING STATUS-VAL.