Showing posts with label RFHUTILC.EXE. Show all posts
Showing posts with label RFHUTILC.EXE. Show all posts

Saturday 18 February 2017

Rfhutilc error: Error getting queue names in rfhutilc

Rfhutilc error: Error getting queue names in rfhutilc


Problem: Z/OS system installed with IBM MQ and system configured with Queue manager and Queues. Using rfhutilc.exe, I try to connect and load queues from my window system to Z/OS system, rfhutilc.exe displays as "error getting queue names".

I also set environment variables for MQSERVER but my window system is not installed with IBM MQ.

Solution: rfhutilc.exe will not work alone, system must have installed with IBM MQ to connect with remote Queue manager.


Related Topic:






Monday 13 February 2017

How to use RFHUTILC.EXE to connect to a remote queue manager

How to use RFHUTILC.EXE to connect to a remote queue manager


RfhUtil is IBM WebSphere MQ Client, use for read data from files and/or queues; write data to files and/or queues and display data in a variety of formats. However, it is not an editor. While the user data portion of the message can be displayed in a variety of formats, it cannot be changed. 

Prerequisite: 

1. Remote system installed with IBM WebSphere MQ.
2. System have RfhUtil Client.

Step 1: Create Queue manager on Remote system and check below option during creation of Queue Manager.

How to use RFHUTILC.EXE to connect to a remote queue manager

If you already have Queue Manager than check if SYSTEM.ADMIN.SVRCONN channel exists or not.
How to use RFHUTILC.EXE to connect to a remote queue manager

How to use RFHUTILC.EXE to connect to a remote queue manager

If value not showed Exists than click on Create.

Step 2: Create Queue in newly created Queue Manager.

Step 3: Create new System variable in the system from where you want to connect Remote Queue manager.

How to use RFHUTILC.EXE to connect to a remote queue manager

Variable name : MQSERVER
Variable value : SYSTEM.ADMIN.SVRCONN/TCP/IP address of remote system(listener port of Queue manager)

Step 4: Open rfhutilc.exe

How to use RFHUTILC.EXE to connect to a remote queue manager

Step 5: Give Queue manager name as created new system variables. Click on Load names, it will display all Queue name which you have created on remote system.

How to use RFHUTILC.EXE to connect to a remote queue manager

Step 6: Write data to queue. Click on open file and pass  text file or XML file with some value. Go to MQMD tab and choose "MQSTR" for MQ Message format.

How to use RFHUTILC.EXE to connect to a remote queue manager


Step 7: Read data from Queue.

How to use RFHUTILC.EXE to connect to a remote queue manager


Note : If error 2035 is returned you will need to add a authorised user id to the MCA field of the target queue. I will post solution in my further post.


Related Topic:

Spring jms code with ibm websphere mq example