ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » rfhutilc cannot load remote queues

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next
 rfhutilc cannot load remote queues « View previous topic :: View next topic » 
Author Message
Base
PostPosted: Wed Jun 24, 2009 7:15 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

The message that no queues were found is only displayed if I press load names. It doesnt matter if I type the queue name by hand or not. When I press Write Q or Read Q nothing is displayed in the Output Window.
Back to top
View user's profile Send private message
sumit
PostPosted: Wed Jun 24, 2009 7:20 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Base wrote:
When I press Write Q or Read Q nothing is displayed in the Output Window.

When you say nothing do you mean a 'blank' or 'something not relevant to you'. The problem with this much details is, we are just not getting any clue to work on your problem.

Reason code is something that will help us to determine the problem. It's indeed strange that you are just not getting anything.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Base
PostPosted: Wed Jun 24, 2009 11:25 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

WMBDEV1 wrote:
Base wrote:
It just put the following message in the output window "16.21.17 Error getting queue names".


Even when you attempt to write to the manual queue name? This is most odd.


Yes.

I have taken a screen shot:



These steps I have taken:

1. Startet rfhutilc via Batch:

Code:
set RFHUTIL_HOME=%cd%
set MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/DummyHostName(1234)
rfhutilc.exe


2. MQ -> MQConn (now "Queue Depth = 0" is displayed at upper right)
3. Load Names (now "09.14.35 Error getting queue names" is displayed)
4. Entered the QUEUE Name (XXX.IN2.QUEUE)
5. Loaded an XML-File (now "09.14.38 440 bytes read from file C:\test\RouteTrue.xml" is displayed)
6. pressed Write QUEUE - nothing happened. No output message, no message putted in desired queue.

Edit - Of course I entered the right properties for Hostname and Port in the appropriate fields.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jun 24, 2009 11:31 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Skip the load names step and try a READ queue before a WRITE - this will test that MQCONN and MQGET work on that queue and queue manager.
Back to top
View user's profile Send private message
Base
PostPosted: Thu Jun 25, 2009 12:17 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

zpat wrote:
Skip the load names step and try a READ queue before a WRITE - this will test that MQCONN and MQGET work on that queue and queue manager.


Ok - I just started rfhutilc with my Batch, entered the QUEUE by hand (there are already some messages on the QUEUE) and pressed Read Q

Nothing happens in the output field expect that Queue Depth and Data Size displayed "0".
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 25, 2009 2:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Quote:
3. Load Names (now "09.14.35 Error getting queue names" is displayed)

Your connection parameters are not right.
Forget the MQServer variable and enter it's value into the qmgr field.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JosephGramig
PostPosted: Thu Jun 25, 2009 3:35 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1231
Location: Gold Coast of Florida, USA

I assume you are using the batch file to launch RfhUtilC so you can connect to different QMGRs.

You should use MQCHLLIB pointing to a Client Connection Definition Table (CCDT) instead of MQSERVER. Verify all the connectivity with amqsputc to all the entries.

Then RfhUtilC will give you a nice drop down with all the QMGRs in the CCDT.
Back to top
View user's profile Send private message AIM Address
s.miller
PostPosted: Tue Jun 30, 2009 7:34 am    Post subject: Re: rfhutilc cannot load remote queues Reply with quote

Newbie

Joined: 01 Feb 2006
Posts: 4

Base wrote:
I want to write/read on queues on a remote queue manager.


Hello Base

If you want to access remote queues from a Windows box, try something simpler - try one of the sample programs like amqsputc/amqsgetc/amqsbcgc and replace the values used with MQSERVER with appropriate values:

SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/9.242.192.146(1414)
amqsbcgc.exe SYSTEM.DEFAULT.LOCAL.QUEUE

If you only have the Server installed, all the Client libraries won't have been installed. An MQ client program binds to mqic32.dll which itself uses other MQ dlls including amqzsaic.dll

Unlike rfhutilc.exe the sample program will probably fail to 'statically' bind to the client library and you will get an error dialog 'amqzsaic.dll was not found.'

If you are missing: C:\Program Files\IBM\WebSphere MQ\bin\amqzsaic.dll - copy it from another installation or from the installation directory/media: WebSphere_MQ_V6.0\MSI\bin\amqzsaic.dll

Some MQ trivia:

a. The Eclipse based MQ Explorer doesn't use mqic32 to make a client connection - you may already have this working.

b. You don't see an error with rfhutilc.exe at startup is because it 'dynamically' loads the client library before trying to do an MQCONN to your remote QM and it doesn't tell you this in an error message.

c. The samples are 'statically' linked to the client libraries and so immediately show if a library is missing.

d. MQ trace won't show anything because the Operating System has failed to load the libraries, so hasn't run the sample, or issued the MQCONN call.

Kind regards.
Back to top
View user's profile Send private message
vchenna
PostPosted: Tue Jun 30, 2009 12:32 pm    Post subject: Reply with quote

Novice

Joined: 29 Jun 2009
Posts: 18

I m getting the same issue!!!


Please see
Hi,

I want to write/read on queues on a remote queue manager. MQ is installed on Linux RED HAT and I know the host() and the port 1414) and the Channel (eg. SYSTEM.ADMIN.SVRCONN).

I worked on setting up MQ Server Varaible on client - Window XP-

SET MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/HOST(1414)

i checked from server varaible from command prompt to by typing - c:\set

i see SET MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/HOST(1414)

I started rfhutilc (V7.0) And when I try to read a queue -

I m gettin an error:
16.29.50 2058 Queue manager name not found (Connect)
16.29.08 2058 Queue manager name not found (Connect)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 01, 2009 1:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

vchenna wrote:
I m getting the same issue!!!


Please see
Hi,

I want to write/read on queues on a remote queue manager. MQ is installed on Linux RED HAT and I know the host() and the port 1414) and the Channel (eg. SYSTEM.ADMIN.SVRCONN).

I worked on setting up MQ Server Varaible on client - Window XP-

SET MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/HOST(1414)

i checked from server varaible from command prompt to by typing - c:\set

i see SET MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/HOST(1414)

I started rfhutilc (V7.0) And when I try to read a queue -

I m gettin an error:
16.29.50 2058 Queue manager name not found (Connect)
16.29.08 2058 Queue manager name not found (Connect)


The assumption here is that telnet <HOST> 1414 works (i.e. you're not blocked by a firewall...)

Try this:
forget the MQSERVER variable... (shouldn't it be MQServer?)
Start rfhutilc.
Into the qmgr field enter: SYSTEM.ADMIN.SVRCONN/TCP/<HOST>(1414)
Then push the load queues button....
I hope that you do not have literally the word HOST there but more the dns name for the host (that's why I put <HOST>)...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Wed Jul 01, 2009 1:28 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

fjb_saper wrote:
...(shouldn't it be MQServer?)...


No...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Jul 01, 2009 5:12 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I thought you had to reboot if you change MQSERVER? Did they change that?

I usually use channel tables so I haven't used MQSERVER for a long time so I may be wrong about a reboot these days.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jul 01, 2009 5:25 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

kevinf2349 wrote:
I thought you had to reboot if you change MQSERVER?...


A reset of the value is enough. For the occasions (fewer and fewer these days, thankfully) that a number of clients on the same box are using different queue managers, and I can't use a channel table, I have them set it in their discreet environment.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
nvenkatesh
PostPosted: Mon Jul 06, 2009 12:57 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jan 2007
Posts: 45

Hi,

I exactly got the same error and the remote queue manager is not even the z/os but a machine on the same local network. I resolved it. Here goes the soln.

While installing MQ in your local windows machine you have to make sure that you install the MQ Client libraries. I assume this is the case for you too. In windows, the client libraries are not installed by default. You have to select it in the installation dialog box while doing the installation. The RfhUtil v7.0 is also not intelligent enough to check whether you have the MQ Client libraries installed.

FYI,
The MQSERVER Environment variable and its format "channel/transport/connection" is used only by a MQ Client library. So it is error on our side on not installing the client library if it is the case.
And also we have to check on the ih03.doc before we use any programs of ih03 support pac.

Thanks,
Venkatesh[/i]
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Mon Jul 06, 2009 1:18 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

nvenkatesh wrote:

While installing MQ in your local windows machine you have to make sure that you install the MQ Client libraries.


A point previously pointed out by s.miller.

This used to fail with a big error message with earlier versions or rfhutil / MQ but it seems to be the case that it now fails silently.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next Page 3 of 4

MQSeries.net Forum Index » General IBM MQ Support » rfhutilc cannot load remote queues
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.