After restoring the Registry, immediately edit your TOM PAS JCL and remove the DD added pointing to the Registry backup, edit your MAMINIxx BBPARM member, and remove the PRIMEDD= parameter. If you leave these in place and restart TOM, TOM tries to restore the Registry again.