Author |
Message
|
JAKEZ |
Posted: Thu Sep 30, 2004 4:53 am Post subject: using/installing/using spac IH03(rfhutil) on unix box? |
|
|
Apprentice
Joined: 03 Oct 2002 Posts: 32
|
Hi friends,
has anybody some experience of this urility whithin unix environnement?
avy feedback very welcome
thanks
Jakez |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 30, 2004 5:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can run the included RFHUTILC from a windows machine and make a client connection to a UNIX queue manager.
Otherwise, you will not be able to run RFHUtil. IH03 only includes binaries for windows, and only the sources for mqcapture, mqcapone, mqput2, mqtimes and mqtimes2 utilities.
There are make files for these sources included for AIX and Solaris (unless this has been refreshed since I last downloaded it). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kaitlyn |
Posted: Wed Nov 24, 2004 8:31 am Post subject: Can't find the c version |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
I have a copy of the rfhutilc.exe that inidcates it is the "client" version, but can't seem to find anyplace where it allows you to connect to a unix box. In fact, it looks exactly like the rfhutil.exe (opened them both up and they both look identical). Can somewhere tell me where I might find the rfhutilc version so that I can connect from my Windows XP machine to my Unix box? Any help would be greatly appreciated! |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 24, 2004 8:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You'll have to either set MQSERVER or the client channel table environment variables, and then run rfhutilc from that environment. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kaitlyn |
Posted: Wed Nov 24, 2004 8:48 am Post subject: |
|
|
Apprentice
Joined: 24 Nov 2004 Posts: 25
|
Sorry, I am VERY new to this. I do not know:
1) If the rfhutilc is in fact the client version because it looks identical to the rfhutil (ZERO differences).
2) I don't know where to set these as I don't see them anywhere in the GUI that opens up in rfhutilc.
Am I missing something? Please provide me with information on HOW to do this as I read the reply but don't know HOW to accomplish it.
Also, in the event I don't have the correct copy of rfhutilc, can you tell me where I can download it from? |
|
Back to top |
|
 |
KeeferG |
Posted: Wed Nov 24, 2004 8:53 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
the RFHUtil program has been compiled with MQ server libraries. The RFHUtilc program has been compiled to run with the MQ client libraries. There should be no other differences so they will look the same.
For RFHUtilc to connect to a remote queue manager you must have the WebSphere MQ Client installed on your windows machine. You can get this from the IBM support pack website together with the latest version of RFHUtil in support pack IH03.
Hope this helps _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 24, 2004 8:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kaitlyn wrote: |
2) I don't know where to set these as I don't see them anywhere in the GUI that opens up in rfhutilc. |
Use a command prompt.
enter "SET MQSERVER=<channel>/TCP/<hostname>(<port>)", replacing <channel> and etc. to define a connection to your Unix box.
and then in the same command prompt, run RFHUTILC - "<path to RFHUTILC>/RFHUTILC.exe". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 24, 2004 3:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You might want to have a look at MO71 and Mo72 support packs instead
 |
|
Back to top |
|
 |
bobbee |
Posted: Sun May 21, 2006 4:18 pm Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
does the TIMES2 program run in CLIENT mode as the MQPUTSC program. If not how do you get performance numbers in a client session. |
|
Back to top |
|
 |
wschutz |
Posted: Sun May 21, 2006 6:01 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
well, on my linux machine:
[wschutz@wschutz i386]$ ldd mqtimes2
linux-gate.so.1 => (0xb7f3b000)
libmqm.so => /usr/lib/libmqm.so (0xb7efb000)
libc.so.6 => /lib/tls/libc.so.6 (0x007e8000)
libmqz.so => /opt/mqm/lib/libmqz.so (0xb7e5f000)
libmqmcs.so => /opt/mqm/lib/libmqmcs.so (0xb7cf1000)
libmqmzse.so => /opt/mqm/lib/libmqmzse.so (0xb7cef000)
libdl.so.2 => /lib/libdl.so.2 (0x0093a000)
/lib/ld-linux.so.2 (0x007ce000)
and, of course, there's always the source .... _________________ -wayne |
|
Back to top |
|
 |
mq_kid |
Posted: Sat Sep 23, 2006 7:41 pm Post subject: |
|
|
Newbie
Joined: 20 Sep 2006 Posts: 2
|
jefflowrey wrote: |
kaitlyn wrote: |
2) I don't know where to set these as I don't see them anywhere in the GUI that opens up in rfhutilc. |
Use a command prompt.
enter "SET MQSERVER=<channel>/TCP/<hostname>(<port>)", replacing <channel> and etc. to define a connection to your Unix box.
and then in the same command prompt, run RFHUTILC - "<path to RFHUTILC>/RFHUTILC.exe". |
I tried it to connect to a remote queue manager on Sun Solaris but I'm getting 2035. The other utility I used to connect to queue manager on Sun Solaris is Tectia in a ssh2 mode.
This is what is said in my .bat file to connect to qmgr on Sun Solaris.
echo on
SET MQSERVER=CHANNEL_NAME/TCP/HOST_NAME(PORT#)
START C:\....\RFHUTILC.EXE
Whats wrong with the above .bat file. I used same one to connect to qmgr on AIX and it works fine.
Thank you for help!!! |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Sep 24, 2006 4:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
2035 is a security error.
Please look it up both in the search button here and in the Messages manual in the Information Center - under the "Reason Codes" page. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bbburson |
Posted: Mon Sep 25, 2006 6:45 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
rfhutilc requires +inq authorization on the queue manager and queue in addition to +get, +put, etc.
amqsputc and amqsgetc work fine without +inq authorization. |
|
Back to top |
|
 |
|