Save system data with GO SAVE: Option 22

Option 22 saves only your system data. It does not save any user data. Option 22 puts your server into a restricted state. This means that no users can access your server, and the backup is the only thing that is running on your server.

Option Number Description Commands
22

System data only (QSRSAVI)

ENDSBS SBS(*ALL) OPTION(*IMMED)
CHGMSGQ MSGQ(QSYSOPR) DLVRY(*BREAK or *NOTIFY)
SAVSYS 
SAVLIB LIB(*IBM) ACCPTH(*YES) 
SAV DEV('/QSYS.LIB/media-device-name.DEVD') +
    OBJ(('/QIBM/ProdData') +
        ('/QOpenSys/QIBM/ProdData')) +
    UPDHST(*YES) 
STRSBS SBSD(controlling-subsystem)

View entire GO SAVE checklist provides you with step-by-step instructions on how to save your system data with menu option 22 of the GO SAVE command.

Related tasks
View entire GO SAVE checklist
Related reference
Methods to save security data
Methods to save configuration objects in QSYS
Methods to save i5/OS optional libraries (QHLPSYS, QUSRTOOL)
Related information
SAVLICPGM