Sid, Your processing loop should BROWSE_NEXT, examine the message and then if you want to delete the message you can GET with MSG_UNDER_CURSOR. Not sure which scenario that is because Roger was attempting something like "delete last x number of messages" which sounds different from what you are describing.
Be sure that you either use the LOCK option when browsing or allow for the possibility that the message under the browse cursor may not be available when you do the destructive GET. -- T.Rob -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 2:08 AM To: [EMAIL PROTECTED] Subject: Re: Message under cursor Howdy all, I am about to change the way I collect messages in all my major processing applications where message loss is not acceptable (I am using c++), I want to change to the "browse", "process" and if successful, then delete the currently "browsed" message, then move to the next.... So which scenario do I use ? Sid 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