Author |
Message
|
mantofob |
Posted: Wed Jul 02, 2008 9:49 am Post subject: Problem using amqsputc |
|
|
Newbie
Joined: 02 Jul 2008 Posts: 1
|
I tried using amqsputc toward mqserver local o remote mqserver without any problem but when i try toward a specific remote mqserver/queue the tool stands after showing the message "Sample AMQSPUT0 start", then nothing appens till i stop the tool using CTRL+C, for example...i can't write anything and the remote qm doesn't receive anything from my address. Telnet connect using same address and port used in the environment variable MQSERVER.
Could you help me?
Thanx
Fob |
|
Back to top |
|
 |
sami.stormrage |
Posted: Wed Jul 02, 2008 10:06 am Post subject: |
|
|
 Disciple
Joined: 25 Jun 2008 Posts: 186 Location: Bangalore/Singapore
|
did u set the path for the remote Qmgr viz.. export.............--ip?
And also check if the SVR connection channels are defined on the remote system. _________________ *forgetting everything * |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Jul 02, 2008 11:07 am Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
What is the exact command you are issuing to set the MQSERVER variable, before running amqsputc ?
Are their any messages at that time in /var/mqm/errors/AMQERR01.LOG ? _________________ Glenn |
|
Back to top |
|
 |
Rajasekharp45 |
Posted: Mon Jul 14, 2008 4:00 am Post subject: |
|
|
Newbie
Joined: 03 Apr 2008 Posts: 4
|
Command for setting MQSERVER
SET MQSERVER= CHL_NAME/TCP/IP_ADDRESS(Port) |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 14, 2008 4:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
sami.stormrage - Your post, as always, is irrelevant and technically inaccurate. SVR channels have no bearing on this question at all. PLEASE TRY HARDER to READ, THINK, TRY, READ, THINK, TRY, AND *THEN* Post.
mantofob -
Please READ the source code of amqsput0. It WAITS FOR INPUT. You therefore have to GIVE it input before it will do anything. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sami.stormrage |
Posted: Mon Jul 14, 2008 9:23 am Post subject: amqsputc |
|
|
 Disciple
Joined: 25 Jun 2008 Posts: 186 Location: Bangalore/Singapore
|
sorry about that.. but I took that to be a problem connecting to a client from a server on Aix.. dont know what exactly was going through my mind whn I replied.. but it sure was vague..  _________________ *forgetting everything * |
|
Back to top |
|
 |
|