protocol7 archive
15 August 2004

RemoteMQSC

I’ve uploaded the first release of a small project of mine, RemoteMQSC. If you have ever used WebSphere MQ you’ve probably used MQ script and the runmqsc (strmqmmqsc on AS400) command. RemoteMQSC does exactly the same thing but for remote MQ servers. RemoteMQSC runs as a MQ client and sends the script commands as escaped PCF messages.

To run the program, the simplest command is:

java -jar remotemqsc.jar -hostname yourhost

The command requires a host name but can also include the following parameters:

* -channel SOME.CHANNEL
* -port 1881
* -sslciphersuite SSL_RSA_WITH_NULL_MD5
* -userID someuser
* -password secret
* -CCSID 850

Note that since I’m not allowed to distribute the IBM JAR files you will have to copy them into the RemoteMQSC directory on your own. The required JARs are:

* com.ibm.mq.pcf.jar
* com.ibm.mq.jar
* connector.jar

Right now the source code is hosted on my private CVS server so if you want the source code, please send me an email and I’ll send it to you.

tags: Java - MQ