Preparing to emit PRM header and entries.