There have been many past discussions on message order and how MQ preserves it only 
under a fairly strict set of conditions. The best practice is not to rely on messages 
being delivered in the same order they were sent.  I'd advise your programmer to use 
message grouping (if it's available on all the platforms) or one of the 
application-based schemes that have been proposed for retrieving messages in sequence, 
even if MQ delivers them in a different order.

regards,
Dennis

> -----Original Message-----
> From: Anderson, Lizette T. (RyTull) [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 11:07 AM
> To:   [EMAIL PROTECTED]
> Subject:           Re: messages out of order
> 
> I need to add.   The mainframe is running OS/390 communicating with a
> Windows 2000 server both running MQSeries 5.2.
> 
> >  -----Original Message-----
> > From:         Anderson, Lizette T. (RyTull)
> > Sent: Tuesday, February 11, 2003 1:04 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      messages out of order
> >
> > Is it possible for messages to be delivered out of order?  Please read the
> > following from our application programmer:
> >
> > We had a problem last night.  A couple of our MQ message were processed
> > out of order.  The MQ messages are for Score Order Entry feedback from the
> > mainframe.  The queue name is RT.PRD.ORDFBREC.INB.  The sequence of
> > process the messages take to reach the queue are:
> > -The mainframe writes records to an Adabase file storing MQ information, a
> > Natural program performs this process.
> > -The mainframe then reads records from this Adabase file and generates MQ
> > messages, a Cobol program performs this process.
> > -The MQ messages are delivered to the dead letter queue.
> > -The message are extracted from the dead letter queue and delivered to the
> > RT.PRD.ORDFBREC.INB queue.
> > -A C program process the records from this queue.
> >
> > From looking at the debug log we know the MQ messages were process out of
> > sequence.  The only way they could be processed out of sequence is if they
> > were added to the RT.PRD.ORDFBREC.INB queue in the wrong order.  The
> > mainframe process and records in the Adabase file look to be in order.
> > So, the records should have been added to the dead letter queue correctly.
> >
> >
> >
> >
> --- Legal Disclaimer: The information contained in this communication may be
> confidential, is intended only for the use of the recipient named above, and
> may be legally privileged.  If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of its contents, is
> strictly prohibited.  If you have received this communication in error,
> please re-send this communication to the sender and delete the original
> message and any copy of it from your computer system. Thank you. ---
> 
> 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