Sometimes JES2 will not terminate
If for whatever reason JES2 does not want to shut down, and probably the following message shows up:
$HASP000 JES2 NOT DORMANT -- SYSTEM NOW DRAINING
The reason for this might vary. It could be that (for example) a printer still has data to process.
Try to gather more information with:
Then find out which device is trying to drain and cancel this process. e.g.
Now we should be able to finish JES2.
Force JES2 down (sometimes needed)
When all else fails we force JES2 to ABEND with the following command:
Now a numbered request will appear:
*nn $HASP098 ENTER TERMINATION OPTION
and we answer:
that should do the trick…