To save all MFA rules, registered profiles, security questions, security answers, and rules, use the SAVQACFG command:
SAVQACFG SAVF(LIBRARY/SAVEFILE)
This command will also save any condition lists defined in MFA rules.
To restore all rules, registered profiles, security questions, security answers, and rules, transfer the save file to the target system and run the RSTQACFG command:
RSTQACFG SAVF(LIBRARY/SAVEFILE) RSTPRF(*UPDADD) RSTCHA(*UPDADD) RSTANS(*UPDADD) RSTSRV(*UPDADD) RSTRUL(*UPDADD)