Putting your system in a restricted state
Many recovery procedures require that your system have no other activity on it. When no subsystems except the controlling subsystem are active on your system, it is in a restricted state.
Use the End Subsystem (ENDSBS) command to put your system in a restricted state. You can specify how you want the subsystems to end.
Value | Description |
---|---|
*CNTRLD | Allow active jobs to end themselves (if they are checking to see if the job is being ended). If you specify *CNTRLD, you can use the delay parameter to set a time for the system to wait before ending subsystems immediately. |
*IMMED | End the subsystem immediately. Use this option if there are no users on the system and no batch jobs running. |
Note: Even if you have no activity on the system, jobs might
be running under a few system-provided subsystems, such as the QSYSWRK
(subsystem monitor) subsystem and the QCALSRV (calendar server) subsystem.
You can end all
subsystems immediately without first ending these jobs. You will receive
messages that these subsystems ended abnormally.
To put your system in a restricted state, follow these steps:
A message is sent that indicates that the procedure for ending subsystems is in progress. A final message is sent when the system is in a restricted state.