Interactive mode
When all the tasks SESMON has to monitor are terminated, the SELECTION form is displayed.
If a CONFIGURATION form (APPLICATIONS or PREFETCH-BUFFERS) was marked, the SELECTION form does not appear and the CONFIGURATION form(s) continue to be output to the selected output destination. SESMON is not terminated even if the DBH is terminated.
Batch mode
In batch mode, SESMON terminates when all the tasks it has to monitor are terminated.
If a CONFIGURATION form was requested to be output (APPLICATIONS or PREFETCH-BUFFERS), it continues to be output to file or SYSLST after all the tasks are terminated. SESMON is not terminated even if the DBH is terminated.
Task switches at termination of SESMON
Normal termination |
task switches 11 and 12 are not set. |
Termination with a warning |
task switch 11 is set. |
Termination with an error |
task switch 12 is set. |