What the restore menu options do

Here are the commands that the system runs for the menu options that restore either the system, the system data only, or all user data.

The name of the control language (CL) program that the system runs is in parentheses () following the description of the menu option. You can change this CL program if you need different values than the system-supplied defaults.

The options that place your system into a restricted state (options 21, 22, 23, and 40) also end TCP before ending the subsystems. The following commands are run as part of these options:
  • ENDTCPSVR
  • ENDHOSTSVR
  • DLYJOB
  • ENDTCP
  • DLYJOB
  • ENDSBS SBS(*ALL)
The two Delay job (DLYJOB) commands allow time for TCP processing to end. You can choose the amount of time that each DLYJOB command waits. The default value is 300 seconds for a total delay of 10 minutes before the End subsystem (ENDSBS) command is run.
Option number Description and commands
21 System and user data (QMNRSTE):
ENDTCPSVR
ENDHOSTSVR
DLYJOB
ENDTCP
DLYJOB
ENDSBS SBS(*ALL) OPTION(*IMMED)
RSTUSRPRF USRPRF(*ALL)
RSTCFG OBJ(*ALL)
RSTLIB SAVLIB(*NONSYS)
RSTDLO DLO(*ALL) SAVFLR(*ANY)
RST DEV('/QSYS.LIB/media-device-name.DEVD')
    OBJ(('/*') ('/QSYS.LIB' *OMIT)
        ('/QDLS' *OMIT))
RSTAUT
STRSBS SBSD(controlling subsystem)
22 System data only (QSRRSTI):
ENDTCPSVR
ENDHOSTSVR
DLYJOB
ENDTCP
DLYJOB
ENDSBS SBS(*ALL) OPTION(*IMMED)
RSTUSRPRF USRPRF(*ALL)
RSTCFG OBJ(*ALL)
RSTLIB SAVLIB(*IBM)
RST DEV('/QSYS.LIB/media-device-name.DEVD')
    OBJ(('/QIBM/ProdData')
        ('/QOpenSys/QIBM/ProdData'))
STRSBS SBSD(controlling subsystem)
23 All user data (QSRRSTU):
ENDTCPSVR
ENDHOSTSVR
DLYJOB
ENDTCP
DLYJOB
ENDSBS SBS(*ALL) OPTION(*IMMED)
RSTUSRPRF USRPRF(*ALL)
RSTCFG OBJ(*ALL)
RSTLIB SAVLIB(*ALLUSR)
RSTDLO DLO(*ALL) SAVFLR(*ANY)
RST DEV('/QSYS.LIB/media-device-name.DEVD')
    OBJ(('/*') ('/QSYS.LIB' *OMIT)
        ('/QDLS' *OMIT)
        ('/QIBM/ProdData' *OMIT)
        ('/QOpenSys/QIBM/ProdData' *OMIT))
RSTAUT USRPRF(*ALL)
STRSBS SBSD(controlling subsystem)