Does anyone know how to clear/flush the SPOOLER out-queue? We have over 200k queued and would like to get rid of them as they are chewing up iSeries CPU.
There is a flush callback on the spooler, but I suspect that tells the spooler to attempt to send all of the messages. If you want to get rid of the messages without worrying about sending them first, the reset callback might do that. I am not sure, so you would have to test to verify that is what it does.
I believe one or both of the following files contains all of the queued outgoing messages on Windows and Linux:
I am not sure if it would be the same on iSeries, so once again you would have to test to verify. This may be obvious, but you should stop the spooler or the entire robot before trying to mess with the files.
Retrieving data ...