形式
imqcmd purge dur -c クライアントID -n サブスクライバの識別名
機能説明
永続サブスクリプションを削除しないで、永続サブスクリプションのすべてのメッセージを破棄します。
オプション
オプション名  | 説明  | 
|---|
-c  | クライアントIDを指定します。  | 
-n  | サブスクライバの識別名を指定します。  | 
戻り値
使用例
以下のように実行します。
永続サブスクリプションのメッセージを削除してもよいかが確認されます。削除してもよい場合は、「y」を入力します。

C:\Interstage\F3FMisje6\mq\bin\imqcmd purge dur -c test -n sample Username: admin Password: Purging the durable subscription where:
  ------------------------------ Durable Sub. Name    Client ID ------------------------------ sample                      test
  On the broker specified by:
  ------------------------- Host         Primary Port ------------------------- localhost    17676
  Are you sure you want to purge this durable subscription? (y/n)[n] y
  Successfully purged the durable subscription.  | 


/opt/FJSVisje6/mq/bin/imqcmd purge dur -c test -n sample Username: admin Password: Purging the durable subscription where:
  ------------------------------ Durable Sub. Name    Client ID ------------------------------ sample                      test
  On the broker specified by:
  ------------------------- Host         Primary Port ------------------------- localhost    17676
  Are you sure you want to purge this durable subscription? (y/n)[n] y
  Successfully purged the durable subscription.  |