You would only define manually define a clussdr channel to a repos QM.   You
can't be connected to the repository if the sender to the repos has never
been started.   Alternatively you were connected to the repos, and then
changed the definition of the clusrcvr at the repos while the other QM was
down (in which case it will try to use an out of date defn of the clussdr
from its local cache).

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Shuba
P.K.
Sent: 25 August 2004 12:58
To: [EMAIL PROTECTED]
Subject: Re: PMQCD MsgExitPtr value is coming as Null


Yes, it is a CLUSSDR, This is second scenario. The channel has never
been connected. And QM is connected to repository. Inspite of this, the
NumberofMessageExitsDefined is coming as 0. In the receiver channel
there is ExitName and ExitData Present.

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of David
C. Partridge
Sent: Wednesday, August 25, 2004 4:22 PM
To: [EMAIL PROTECTED]
Subject: Re: PMQCD MsgExitPtr value is coming as Null

Is this a SDR chl or a CLUSSDR?  If latter, AND the CLUSRCVR channel has
an
exit coded, AND the channel has connected at least once, then you have
an MQ
BUG. If the channel has never been connected, this is to be expected, as
you need to have connected to the repository at least ONCE for your QM
to
know what the CLUSRCVR channel definition is.

Dave
-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Shuba
P.K.
Sent: 25 August 2004 10:58
To: [EMAIL PROTECTED]
Subject: Re: PMQCD MsgExitPtr value is coming as Null


MQCD.Version value is 7.

But when I try to get the value of MQCD.MsgExitsDefined it is 0. Whether
in the receiver channel there is an exit name or not.

What do I do??


-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of David
C. Partridge
Sent: Wednesday, August 25, 2004 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: PMQCD MsgExitPtr value is coming as Null

If MQCD.Version >=4 then the first thing to check for a given exit is
HOW
MANY exits of a given type there are.   For example check
MQCD.MsgExitsDefined.   If 0 then there aren't any.   If non-zero then
follow MsgExitPtr (worth checking for null pointer - just in case).

If you want to apply an exit in the case where there aren't any, you
need to
allocate the memory (at MQXR_INIT time), fill in the MQCD fields at
MQXR_AUTO..... time, and release the memory at MQXR_TERM time.

If you want to ADD an addnl exit then life is of course more complex ...

Dave

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to