Ed, You can do this in WMQI by doing something like the following in your compute node: IF InputBody = 'O150' THEN SET OutputLocalEnvironment.Destination.MQDestinationList.DestinationData[1].queu eName = 'A'; ELSE IF InputBody = 'I010' THEN SET OutputLocalEnvironment.Destination.MQDestinationList.DestinationData[1].queu eName = 'B'; END IF; END IF; The above is just a sample. For 60 possible queues you could set up a CASE statement.
Leave queue name blank in the Basic Tab of the MQOutput Node and then in the advanced tab of the MQOutput Node for Destination Mode choose Destination List. Then in the Compute Node advanced tab make sure your select Destination List or Destination List and Message. In the WMQI 2.1 it's Local Environment and Local Environment and Message in the Compute node. Hope this helps. Karen -----Original Message----- From: Ed Newbold [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 9:24 PM To: [EMAIL PROTECTED] Subject: MQSI Distribution Lists We are trying to route messages in a message flow to one of about 60 output queues. The deciding factor of which queue to send the message to is a "message type" piece of data within the message payload. For example, the payload of a message might contain a message identifier of "I010" or "O150" or "I840", etc. "I010" messages would be directed to output queue "A"; "O150" messages to output queue "B"; etc. Using 60 different Filter nodes is out of the question, but we've never used a distribution list. The documentation is a bit sparse in this area, so can anyone offer guidance on the proper methodolgy to use in routing these messages? Thanks for your help. Ed Newbold American Electric Power Columbus, OH __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com 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 This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. 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
