Check the description of the API QRCVDTAQ:

https://www.ibm.com/docs/en/i/7.3?topic=ssw_ibm_i_73/apis/qrcvdtaq.htm

There is an (optional) parameter that defines if you want the message on the
Q to be deleted or not.

It is in the group2. Look for "Remove message".

Works like a charm!



message: 1
date: Thu, 22 Sep 2022 18:18:05 -0400
from: Alan Cassidy <cfuture@xxxxxxxxxxx>
subject: Re: Reading Contents of DataQ

I think there is a setting where you can read a data queue entry without
removing the entry.

--Alan



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2022 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.