Technical Blog Post
Abstract
AMQSBLST IBM MQ sample program - It's a Blast!
Body
It's a Blast - Try it, you'll like it.
There are lots of good sample programs, one favorite is amqsblst.
It is very easy to use and is a great multipurpose tool for testing, demonstrations, and proof of concept.
It is almost foolproof, however there is one thing that you need to remember.
The order of input parameters are: queue manager, and then queue, (which is just the opposite of most of the sample programs, such as amqsput).
This sample is provided with the MQ Samples fileset.
For example, in Linux:
MQSeriesSamples
The location is:
Windows:
C:\Program Files\IBM\MQ\tools\c\Samples\Bin64\amqsblst.exe
Linux:
/opt/mqm/samp/bin/amqsblst
There are 2 types of executables (similar to amqsput / amqsputc)
-- Local bindings: amqsblst
-- Client network: amqsblstc
+ Parameter:
Here are the parameters for amqsblst (same for amqsblstc):
welcome to blast
Usage: amqsblst queue_manager queue -R -W -s message_size -c message_count -C correlid -v
where
queue_manager : queue manager name
queue : queue to read from or write to
-R : read messages from queue
-W : write messages to queue
-s message_sizes : comma separated list of sizes for messages to write, or random (range 1-262144)
-c message_count : number of messages to write range 1 upwards
-C correlid : correllation ID
-u uow_size : unit of work size
-v : verbose messages
+ Blast putting 500 messages of size 1K to the BLAST.QUEUE on queue manager DEMO:
+++ Newer sample that has more features
https://www.ibm.com/support/pages/node/6437003
MQ sample "blast", enhancement for amqsblst which includes persistent messages
+++ Document Number
1081221
UID
ibm11081221