Author |
Message
|
vrihari |
Posted: Wed Dec 14, 2005 7:19 am Post subject: MQ program |
|
|
Newbie
Joined: 14 Dec 2005 Posts: 5
|
Hi,
I would like to check MQ connectivity using C language program. Please tell me how i have to proceed.
Thanks in advance
Harikumar.B |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Dec 14, 2005 7:20 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
read the mq documentation
write the program
test it
you may want to check the samples that come with mq _________________ Regards, Butcher |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Dec 14, 2005 7:34 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
I tried to get sample programs, I'm getting sample programs using Java language. But I'm in need of program which is written in C. Please reffer some links which is useful. |
please do not continue the thread using private messages.
the sample c programs are in /opt/mqm/samp or a proper windows folder, depending on your plattform and mq version (c:\program files\ibm\websphere mq\....) _________________ Regards, Butcher |
|
Back to top |
|
 |
clindsey |
Posted: Wed Dec 14, 2005 8:55 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
sample amqscnxc.c is a good place to start for checking connectivity.
Charlie |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Dec 14, 2005 9:26 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
Here we are using third party tool Rough wave, they have provided one ibm folder in that i found one c program. It's difficult to understand. Please provide me one sample program for checking the connection.
I tried in other method whether connection is possible to establish or not
Ex: amqscnxc -x I/P
But i also want to check the connection establishment using small sample program. Please provide me.
|
i do not know that tool you are using, but if you are using mqseries and you have a mqseries installation then you also have the ibm supplies samples.
what is your problem in finding these samples?
and - AGAIN - your messages belong to the thread, not to the private mailbox.
[/quote] _________________ Regards, Butcher |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 14, 2005 9:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Mr Butcher wrote: |
and - AGAIN - your messages belong to the thread, not to the private mailbox. |
I usually delete, unanswered, any PMs I get that I am basically not expecting. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|