Author |
Message
|
steiner |
Posted: Tue Jun 13, 2006 12:05 am Post subject: Problem with amqsgetc comand to connect to a Tandem Server |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
I'm trying to make the command amqsgetc "queue name" "queue manager" but it returns me the error code 2058.
The queue manager name is right and on the same network, and the queue name is always right.
The command amqsputc works fine.
Others informations:
it's the client MQSeries 5.3 who is installed on a HP-Unix Server and try to connect to a Tandem Server.
The variable MQSERVER is correct, because the amqsputc command works fine.
Can you help me to solve the problem with the amqsgetc comand.
Thanks , bye |
|
Back to top |
|
 |
paulgroo |
Posted: Tue Jun 13, 2006 1:01 am Post subject: Default queue manager |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
It looks like the queue manager name isnt being picked up correctly. Perhaps you could try setting the queue manager as 'default' so that you dont have to specify the name in the amqsget command. Then try running it again with only the queue name specified. |
|
Back to top |
|
 |
paulgroo |
Posted: Tue Jun 13, 2006 1:03 am Post subject: |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
|
Back to top |
|
 |
steiner |
Posted: Tue Jun 13, 2006 4:16 am Post subject: Proble with amqsgetc for Tandem Server |
|
|
Voyager
Joined: 07 Mar 2003 Posts: 89
|
Hello,
Thanks for your answers.
So now I have the error message (see below) but i think perhaps i need a special C-Program for Tandem Server (like as amqsgetc for Tandem).
Just for nfo the command amqsputc works fine.
Thanks, bye
./amqsgetc EH0.EDI.1.FLS.EDI.01
Sample AMQSGET0 start
MQGET ended with reason code 2232
Sample AMQSGET0 end |
|
Back to top |
|
 |
paulgroo |
Posted: Tue Jun 13, 2006 5:10 am Post subject: |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
Hi again.
The 2232 reason code seems to suggest that there's no information to tranfer (?!). I don't have access to a tandem box to try this on, but perhaps adding "./amqsgetc EH0.EDI.1.FLS.EDI.01 testmessage" might give it something to put onto the queue. |
|
Back to top |
|
 |
8davitt |
Posted: Tue Jun 13, 2006 5:24 am Post subject: |
|
|
Apprentice
Joined: 06 Feb 2003 Posts: 37 Location: Seated in front of monitor
|
MQRC=2232 MQRC_UNIT_OF_WORK_NOT_STARTED
Refer to APAR IC44227
Ensure the latest Tandem MQ service is applied to your system.
/s |
|
Back to top |
|
 |
paulgroo |
Posted: Tue Jun 13, 2006 5:28 am Post subject: |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
|
Back to top |
|
 |
|