English English French French Spanish Spanish German German
Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
Share on:

amqsput command not find – IBM MQ on Linux

troubleshooting error
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

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
[root@localhost server]# rpm -ivh MQSeriesSamples-8.0.0-2.x86_64.rpm
Preparing...                         ################################# [100%]
Updating / installing...
   1:MQSeriesSamples-8.0.0-2         ################################# [100%]
[root@localhost 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.

Thanks to our Sponsors
More great readings on WebSphere
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • Semrush is an all-in-one digital marketing solution with more than 50 tools in SEO, social media, and content marketing.
    Try Semrush
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder