形式
imqcmd purge dst -t 物理格納先タイプ -n 物理格納先名
機能説明
物理格納先を削除しないで、物理格納先のすべてのメッセージを破棄します。
オプション
| オプション名 | 説明 | 
|---|
| -t | 物理格納先タイプを指定します。指定可能な物理格納先タイプは、次のとおりです。
 | 
| -n | 物理格納先名を指定します。 | 
戻り値
使用例
以下のように実行します。
物理格納先のメッセージを削除してもよいかが確認されます。削除してもよい場合は、「y」を入力します。

| C:\Interstage\F3FMisje6\mq\bin\imqcmd purge dst -t t -n JMSTopicUsername: admin
 Password:
 Purging the destination where:
 
 ------------------------------------
 Destination Name    Destination Type
 ------------------------------------
 JMSTopic                Topic
 
 On the broker specified by:
 
 -------------------------
 Host         Primary Port
 -------------------------
 localhost    17676
 
 Are you sure you want to purge this destination? (y/n)[n] y
 
 Successfully purged the destination.
 | 


| /opt/FJSVisje6/mq/bin/imqcmd purge dst -t t -n JMSTopicUsername: admin
 Password:
 Purging the destination where:
 
 ------------------------------------
 Destination Name    Destination Type
 ------------------------------------
 JMSTopic                Topic
 
 On the broker specified by:
 
 -------------------------
 Host         Primary Port
 -------------------------
 localhost    17676
 
 Are you sure you want to purge this destination? (y/n)[n] y
 
 Successfully purged the destination.
 |