How to drop the active Spool region?
To cleanly shutdown an active Spool region you should first shut down the network. To do this, enter a modify command to the active task as follows:
F esfstc,PNET (where esfstc = the started task name)
This command will end any active printer, NJE and VPI sessions, once the current active sessions have completed. This may take some time if there are large reports being sent down to a printer. If you need to drop the task in a more urgent time frame, you can enter the following to terminate all active sessions which includes the vtam menu interface that is not dropped with a PNET. You will not loose any reports as they will be kept and re-queued. Here is the terminate command:
F esfstc,TNET (where esfstc = the started task name)
Once the active sessions have ended, you can gracefully end all input interface activity by entering the following:
F esfstc,SHUTDOWN (where esfstc = the started task name)
This method may take a little time depending on the activity on your system. When all current input processing has completed, Spool will terminate with a return code of 0.
If your task still doesn't come down, try entering the PNET followed by TNET commands one more time. This in many cases will bring the task down with a rc=0.
If the task still won't come down after you have entered the above commands in the order specified, you can try forcing the task down by entering command:
F esfstc,SHUTDOWN,F (where esfstc = the started task name)
Note: We recommend that you do not terminate Spool using the MVS CANCEL command, because this can corrupt our checkpoint or our spoolds files.