Author |
Message
|
wschutz |
Posted: Mon Oct 24, 2005 1:25 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Wschutz, I can't use the API Exit because the server Version of MQ I using is only 5.1. |
You should really upgrade to V5.3 and here's your justification. _________________ -wayne |
|
Back to top |
|
 |
hopsala |
Posted: Mon Oct 24, 2005 1:34 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
angka wrote: |
Hopsala, I logged the messages in the Receiver Exit for standardising. I logged my messages with Message Exit for Server connection. |
That's not really an explanation, what's "standardising"? And what do you mean by logging "for server connection"?
p.s I agree with wayne once more - move to 5.3, for the reason specified and many others, you'll be glad you did. |
|
Back to top |
|
 |
angka |
Posted: Mon Oct 24, 2005 8:42 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
I am running on NSK which doesnt support version 5.3.
Hopsala, I mean I logged my message in Message Exit for Server to Server connection.
So think there is no way I can do it in Receiver Exit. Thank all.
Regards |
|
Back to top |
|
 |
angka |
Posted: Mon Oct 24, 2005 10:48 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
Any of you know why when I use pMQXQH->RemoteQName, I cant get the Queue the Client connection trying to access? MQ client and MQ server data structure is different?
Thanks
Regards. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 25, 2005 2:06 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
XQH isn't used with client connections (as there is no transmission queue involved). if you want to find the queue name, you'll have to see the MQOPEN going by and then index into the MQOD. _________________ -wayne |
|
Back to top |
|
 |
angka |
Posted: Tue Oct 25, 2005 7:51 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi Wschutz,
What you mean by see the MQOPEN going by and then index into the MQOD?? Is is MQCD? Btw why does the header of the MQPUT API doesnt content the value of the queue it putting to?
Regards. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 25, 2005 8:06 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
You said this yourself:
Quote: |
"In the case of MQI channels for clients, byte 10 of the agent buffer identifies the API call in use when the send or receive exit is called."
|
So, to find out the name of the queue, look for the MQOPEN (x'83') ... I strongly suggest you setup supportpac MD0B on a windows machine to understand the flows and the data when using client and non-client channels.
Quote: |
Btw why does the header of the MQPUT API doesnt content the value of the queue it putting to?
|
Actually, the PMO contains a field called ResolvedQName which is filled in by the qmgr AFTER the MQPUT (except for distribution lists), so I guess you could look at that (in the server side send exit). _________________ -wayne |
|
Back to top |
|
 |
Michael Dag |
Posted: Tue Oct 25, 2005 9:22 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
|