The HEAPPOOLS option cannot be used in mixed old and new PL/I code if the old PL/I code tries to free storage allocated by new PL/I code.