Friday, March 3, 2017

An utility for connecting with IBM MQ

There is a utility provided by IBM which allow you connection between queue manager, it is called RFHUtil and it could be download from here:

http://www-01.ibm.com/support/docview.wss?uid=swg24000637

To connect you must declare some enviroment variables like this one:

MQSAMP_USER_ID=<USERNAME>
MQSERVER=<QUEUEMANAGER.NAME>/TCP/<IP>(<PORT>)

You must run rfhutilc.exe after setting this variables.

Important links:

Friday, February 24, 2017

How to write a message to queue from C samples?

For sending a message to queue from C samples under mq instalation we need to do the following steps:

export MQSERVER=SVRCONN.CHANNEL/TCP/'127.0.0.1(1416)'
export MQSAMP_USER_ID=user
./opt/mqm/samp/bin/amqsputc QUEUE.NAME QMGR.NAME


On Windows it is necessary to add enviroment variable:
MQNOREMPOOL=1


Important links:

Friday, February 10, 2017

How to assign permissions to open url on Android application?

The solution to view external url on webview object is to put or give Internet permission:
...
<uses-permission android:name="android.permission.INTERNET" />
...
This line should be at AndroidManifest.xml.

Best regards,