Purging email messages
You might need to purge email messages if the delivery is no longer required or not possible. An
EDS message queue and all email messages that are contained in the queue can be purged by using the
JES2 command:
$PS($EDSQnnn)
Where, $EDSQnnn
is the name of the email queue.
The name of the current email queue is reported in the HAS1535 message if errors are detected
when processing the queue. Also, the names of all currently existing email queues can be found by
using a JES2 command:
$DS($EDSQ*)
If purging the entire email queue with all email messages on the queue is undesirable, another form of $PS command allows you to purge only those email messages that experienced error on delivery attempt:
$PS($EDSQnnn),ONERROR