Author |
Message
|
steiner |
Posted: Thu Jul 03, 2003 1:57 am Post subject: Send Tests file with MQ-Series |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
I want to send files or data with MQ-Series , to test if the Queue i had created runs correctly.
So i am trying to use the MQ-Series commans : MQOPEN, MQPUT, MQPUT1, MQGET and MQCLOSE, but there don't run correctly.
Can anyone help me with a good example
Thanks a lot .... |
|
Back to top |
|
 |
shalabh1976 |
Posted: Thu Jul 03, 2003 4:27 am Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
You can use the API exerciser or the sample programs like amqsput that are provided with MQ installation.
You can even use other utilities like RFHUTIL to do the same.
Depending on your platform you may have other utilities available like CSQUTIL for OS/390. |
|
Back to top |
|
 |
steiner |
Posted: Thu Jul 03, 2003 7:28 am Post subject: |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
Thank's for your answer, so i had read the documentation of RFHUTIL (fun).
So i have download RFHUTIL and installed it on my notebook whose OS is Windows NT 4.0.
So it don't run , it give me a Dll problem and in the documentation it says that it must installed a other Product or Pack.
Can you say which pack it is, or how i must do for running RFHUTIL.
Thank's a lot... |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jul 03, 2003 10:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
RFHUtil is like any other MQSeries app.
It needs to be running on a machine that either has the MQSeries server installed or an MQSeries client installed.
There are two versions of RFHUTIL included in the support pack. One is RFHUTIL and the other is RFHUTILC. RFHUTILC is the client version.
Install an MQSeries Client on your machine, and then run RFHUTILC. |
|
Back to top |
|
 |
steiner |
Posted: Mon Jul 07, 2003 6:00 am Post subject: |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
Thanks for your response.
So I install RFHUTIL on my Laptop and it runs. But I have not the "Load Names" enable and when I want to configure a Queue Manager Name and a Queue Name I have always the message "Queue Manger Invalid".
So I am sure that the names are correct , because I have the same names in my Monitoring of MQ-Series.
Do you know what this can be.
I think I have perhaps download a version who had not all fonctionnalities. My download version is IH03.
Thanks a lot... |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 07, 2003 6:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
steiner wrote: |
So I install RFHUTIL on my Laptop and it runs. But I have not the "Load Names" enable and when I want to configure a Queue Manager Name and a Queue Name I have always the message "Queue Manger Invalid".
So I am sure that the names are correct , because I have the same names in my Monitoring of MQ-Series.
Do you know what this can be.
I think I have perhaps download a version who had not all fonctionnalities. My download version is IH03. |
RFHUTIL is only available in support pack IH03. If you downloaded it recently from IBM, you got the most recent version.
Do you have an MQServer installed on your laptop, with the RFHUTIL, or do you have a client?
If you have a server, you will run RFHUTIL.exe, and it can only connect to the local queue manager.
If you have a client, you will run RFHUTILC.exe, and it will connect to the queue manager you want the same as any other client. This means you will either have to set up an MQSERVER environment variable, or use a client connection channel table.
If you are trying to run either version, and it is failing, you should check both the error log on your laptop and the error log on whatever machine the server you are trying to connect to is running on. You may need access to both of those to find out why the connection isn't working. |
|
Back to top |
|
 |
inder |
Posted: Mon Jul 07, 2003 12:36 pm Post subject: |
|
|
Apprentice
Joined: 24 Mar 2003 Posts: 49 Location: USA
|
Do you have your MQSERVER environmental variable set? That could also be a reason for you getting queue manager invalid error...... |
|
Back to top |
|
 |
|