The QRCVDTAQ API now has an optional 11th parameter:

Remove message INPUT; CHAR(10)
Whether the message is to be removed from the data queue when it is
received. Valid values are:
*YES The message is removed from the data queue. This is the default value
if this parameter is not specified.
*NO The message is not removed from the data queue.

Alternatively try using the QMHRDQM API which performs a non-destructive
message retrieval.

Both API's are documented in the OBJECT API'S section of the API Reference.

Brian Parkins



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.