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 » Sending 1 Message to Two Different Queues

Post new topic  Reply to topic
 Sending 1 Message to Two Different Queues « View previous topic :: View next topic » 
Author Message
lotusphilo
PostPosted: Tue Oct 10, 2006 12:18 pm    Post subject: Sending 1 Message to Two Different Queues Reply with quote

Voyager

Joined: 31 Mar 2004
Posts: 76

Is there a way to send one message to more than one queue, on the same queue manager on z/OS without making any changes to the putting application?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Tue Oct 10, 2006 12:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Not without installing an exit.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
lotusphilo
PostPosted: Tue Oct 10, 2006 12:24 pm    Post subject: Reply with quote

Voyager

Joined: 31 Mar 2004
Posts: 76

What type of exit would be best?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Tue Oct 10, 2006 12:48 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, you can't use a channel exit if the message isn't coming in over a channel.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Oct 10, 2006 1:07 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

lotusphilo wrote:
What type of exit would be best?

Check out the possibility of writing an API exit for MQPUT.
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Oct 10, 2006 1:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

This is zOS, so there is no "API Exit", per se. There is the "API Crossing Exit" for CICS transactions.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
bruce2359
PostPosted: Tue Oct 10, 2006 3:10 pm    Post subject: Reply with quote

Guest




An option: Write a new application that MQGETs a single message (that was MQPUT by the app you can't/don't want to modify), then MQPUTs the message to the two queues you want it replicated to. Should be easy to write.
Back to top
tleichen
PostPosted: Wed Oct 11, 2006 5:50 am    Post subject: Re: Sending 1 Message to Two Different Queues Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

lotusphilo wrote:
Is there a way to send one message to more than one queue, on the same queue manager on z/OS without making any changes to the putting application?


Conventionally, you should be using a distribution list.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Oct 11, 2006 5:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
Distribution lists

Not supported on WebSphere MQ for z/OS.

Distribution list

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
zpat
PostPosted: Wed Oct 11, 2006 6:02 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

bruce2359 wrote:
An option: Write a new application that MQGETs a single message (that was MQPUT by the app you can't/don't want to modify), then MQPUTs the message to the two queues you want it replicated to. Should be easy to write.


A message broker can do this easily without any coding.
Back to top
View user's profile Send private message
chv_v
PostPosted: Wed Oct 11, 2006 6:24 am    Post subject: Reply with quote

Newbie

Joined: 01 Feb 2005
Posts: 9

Can't we use Namelist
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 11, 2006 6:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

chv_v wrote:
Can't we use Namelist

Not without changing the putting program.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Oct 11, 2006 3:59 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

wschutz wrote:
Quote:
Distribution lists

Not supported on WebSphere MQ for z/OS.

Distribution list

OOps, your right... I did mean namelists, though. Anyway, you still would have to change the putting program. I'm afraid I have little sympathy for people or companies that put up road blocks that keep things from getting done. Why can't the program be changed? If you want a program to do something different you change it. What's the hassle?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Sending 1 Message to Two Different Queues
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.