To save all AMR queries, repositories, condition lists, operations, distribution lists, output types, formats, and settings, run the SAVQJCFG command:
SAVQJCFG SAVF(LIBRARY/SAVEFILE) JRN(*ALL) TGTRLS(*CURRENT)
To restore all AMR queries, repositories, condition lists, operations, distribution lists, output types, formats, and settings to another system, transfer the save file to the target system and run the SAVQJCFG command:
RSTQJCFG SAVF(LIBRARY/SAVEFILE) JRN(*ALL) SELQRY(*UPDADD *ALL *ALL *ALL) RSTREF(*UPDADD) RSTLCN(*REPLACE) RSTOPE(*UPDADD) RSTDSL(*REPLACE) RSTOUT(*UPDADD) RSTFMT(*UPDADD) RSTSET(*UPDATE)
Note: These commands will not save and restore journals and their receivers that were queried by AMR.