When a PL/I program is called from a Java program, all files opened in PL/I must be explicitly closed in PL/I before PL/I returns control to Java for the last time. Similarly, all modules that are fetched in the PL/I program must be released.