ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Is "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)" necessar

Post new topic  Reply to topic
 Is "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)" necessar « View previous topic :: View next topic » 
Author Message
EricL
PostPosted: Tue Mar 28, 2023 3:25 pm    Post subject: Is "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)" necessar Reply with quote

Centurion

Joined: 10 Oct 2014
Posts: 100

Hi,

I'm a bit confused of using TRIGDATA parameter in sender channel creation.

1. I have a sender channel created with a transmission q:

DEFINE CHANNEL(SAMPLE.SENDER) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('A.B.C.D(1414)') XMITQ(SENDER.TRXQ)

DEFINE QLOCAL(SENDER.TRXQ) USAGE(XMITQ) INITQ(SYSTEM.CHANNEL.INITQ)


it is working fine as expected.

2. I noticed some sender channels created previously as:

DEFINE CHANNEL(SAMPLE.SENDER) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('A.B.C.D(1414)') XMITQ(SENDER.TRXQ)

DEFINE QLOCAL(SENDER.TRXQ) USAGE(XMITQ) INITQ(SYSTEM.CHANNEL.INITQ)

ALTER QLOCAL(SENDER.TRXQ) TRIGDATA(SAMPLE.SENDER)


My question is: Is "ALTER QLOCAL(SENDER.TRXQ) TRIGDATA(SAMPLE.SENDER)" necessary?

Thanks
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Mar 28, 2023 6:46 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

On the Distributed platforms, if you omit to say what channel should be trigger started when a message arrives on the transmission queue, then MQ will look at all the channel definitions and use the first one it finds defined to use that transmission queue.

On z/OS platforms, this feature is not available and so you must name the channel in the TRIGDATA attribute.

You can read more about this here.

Once upon a time a long time ago, you probably needed to say which channel it was on Distributed too, but that feature has been there for a long while now. It is worth saying that it does make for good administrative documentation if you want a specific channel to read from the transmission queue at trigger time, so no harm in it, and slightly quicker to get the channel started up if MQ doesn't have to figure out the name every time too. So pros and cons.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
EricL
PostPosted: Tue May 09, 2023 4:51 pm    Post subject: Reply with quote

Centurion

Joined: 10 Oct 2014
Posts: 100

Hmmm, I now have a much better understanding of using "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)".

As said, since it does add value in good administration documentation and start channel quicker, personally I'll prefer to use it.

Thanks you so much Morag, I knew your name long time ago, I'm so glad I can communicate with you directly.

Thanks
Eric
Back to top
View user's profile Send private message
hughson
PostPosted: Tue May 09, 2023 7:02 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

EricL wrote:
Thanks you so much Morag, I knew your name long time ago, I'm so glad I can communicate with you directly.

Hi Eric,

Happy to make contact again. You'll find me lurking wherever people are asking questions about MQ.

All the best.
Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed May 10, 2023 12:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

EricL wrote:
Hmmm, I now have a much better understanding of using "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)".

As said, since it does add value in good administration documentation and start channel quicker, personally I'll prefer to use it.

Thanks you so much Morag, I knew your name long time ago, I'm so glad I can communicate with you directly.

Thanks
Eric

Be sure you document the reason why in the queue description. In distributed, seeing that the TRIGDATA has been set, may also be an indication that the XMITQ has been defined on more than one channel, and that you are choosing which of the channels to consume the XMITQ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Is "ALTER QLOCAL(TRXQ) TRIGDATA(SDRCHNL)" necessar
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.