QRCVDTAQ is equivalent to QSYS2.RECEIVE_DATA_QUEUE and will only get you one message.

If you use QRCVDTAQ without deleting the message, then it should return the same message on every call assuming the input is the same and as long as there are no other active processes running the api to remove any message.


QMHRDQM is equivalent to QSYS2.DATA_QUEUE_ENTRIES, which will allow you to extract all the messages on the queue.

Any process that "dumps" all the messages out of the queue without removing them is probably using QMHRDQM to complete the task.

--
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.