To continue to use the syntax in JVM COBOL code, move it to a procedural program and call it from within a class method.