Operation

To run the sample administration program, first run amqspsda.tst on the queue manager. Then enter the following:

 amqspsd options

where options are any of the following:

-l LogFileName
The name of the log file that the information is sent to.

The default is that output is sent to the screen (stdio).

-m QMgrName
The queue manager name.

The default is that the default queue manager is used.

-q QName
The name of the queue that is subscribed to.

The default is that the program attempts to create a permanent-dynamic queue based on AMQSPSDA.PERMDYN.MODEL.QUEUE. This queue is deleted at program termination.

-s StreamName
The stream name.

The default is that all streams are dumped.

-t Topic
The topic.

The default is that * (all topics) are used as the topic.

-r Topic
Dump retained messages for this topic (* can be used for all topics).

The default is not to dump retained messages.

-p
Dump information for publishers only.

The default is to dump information for publishers and subscribers.

-u
Dump information for subscribers only.

The default is to dump information for publishers and subscribers.

-a
Dump information for anonymous publishers and subscribers.

The default is to dump information for non-anonymous publishers and subscribers.

On successful termination, zero is returned to any calling application.