In the following example, the DIRECTORY command is used to list the messages in the local, l, channel. Then, the DELETE command is used to delete messages 1, 3, 20, 21, and 22. A range specification, 20-22, is used to specify message numbers 20, 21, and 22. qm.maint> DIRECTORY L Mon, 23 Sep 2012 13:43:39 PDT Data gathered from the queue directory tree Channel: l Size Queued since -------------------------------------------------------------- 1 ZZ01HNP17LSUWY9D4DNR.00 4 23-SEP-2012 01:10:23 2 ZZ01HNP1RP3B6G9D4DNR.00 10 23-SEP-2012 01:10:24 3 ZZ01HNP42MAMAI9D4DNR.00 3 23-SEP-2012 01:10:24 4 ZZ01HNP4MEWC8G9D4DNR.00 8 23-SEP-2012 06:18:57 ... 24 ZZ01HNP90X63ZG9D4DNR.00 6 23-SEP-2012 13:21:14 -------------------------------------------------------------- Total size: 108 24 total messages queued qm.maint> DELETE 1,3,20-22 %QM-I-DELETED, deleted the message file PMDF_QUEUE:[L]ZZ01HNP17LSUWY9D4DNR.00 %QM-I-DELETED, deleted the message file PMDF_QUEUE:[L]ZZ01HNP42MAMAI9D4DNR.00 %QM-I-DELETED, deleted the message file PMDF_QUEUE:[L]ZZ01HNP76RTGHY9D4DNR.00 %QM-I-DELETED, deleted the message file PMDF_QUEUE:[L]ZZ01HNP82HTXYB9D4DNR.00 %QM-I-DELETED, deleted the message file PMDF_QUEUE:[L]ZZ01HNP83JPOCV9D4DNR.00 qm.maint>