
amqsput command not find – IBM MQ on Linux


amqsput is a sample program, which can be used to put a message on IBM WebSphere MQ Queues.
The sample program (amqsput) gets installed on Windows when you install either Client or Server. However, on Linux – you must install sample RPM. If you haven’t then you will not have amqsput file available under bin folder.
Sample program RPM is included in MQ 8 installer, all you got to do is install this RPM to start using amqsput program.
If you have installed MQ 8 as explained here, you will have MQSeriesSamples-8.0.0-2.x86_64.rpm
under server folder.
Install MQ Sample Program
- Go to the location where you have MQSeriesSamples-8.0.0-2.x86_64.rpm
- Use rpm command to install this package
rpm –ivh MQSeriesSamples-8.0.0-2.x86_64.rpm
[[email protected] server]# rpm -ivh MQSeriesSamples-8.0.0-2.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesSamples-8.0.0-2 ################################# [100%]
[[email protected] server]#
Now, amqsput is installed and available under /opt/mqm/samp/bin folder.
-bash-4.2$ ./amqsput
Sample AMQSPUT0 start
Required parameter missing – queue name
-bash-4.2$
This helped me and I hope you too.
More great readings on WebSphere
-
What is Thread Dump and How to Analyze them?Asad Ali on June 29, 2020
-
IBM WebSphere Application Server Beginner’s GuideChandan Kumar on June 9, 2022
-
How to Monitor IBM WebSphere using Application Manager?Chandan Kumar on June 9, 2022
-
How to Use Nginx with WebSphere Application Server?Chandan Kumar on June 9, 2022
-
How to Create Cluster in IBM WebSphere ND?Chandan Kumar on June 9, 2022
-
What’s New in WebSphere MQ 9 & Installation GuideChandan Kumar on June 10, 2022
Join Geekflare Newsletter
Every week we share trending articles and tools in our newsletter. More than 10,000 people enjoy reading, and you will love it too.