I believe it was John Sears that spoke at a COMMON conference long ago where I learned this. While waiting on a *DTAQ the job uses no resources at all. It could sit there for weeks without using so much as a cycle. Only when the wait timer expires and control transfers back to the calling program does it use any cycles. The actual reading and writing to queues is also impressively quick and as I recall uses only a few MI instructions for each read or write.

As I remember John explained that i5/OS (OS/400 back then) uses queues extensively and therefore is very efficient at doing so.

*DTAQs are still my favorite i5/OS object. One object SOOO Many uses!

- Larry

Jon Paris wrote:
Anyone know anything about the mechanics of QRCVDTAQ "under the hood".  In
particular does it use much in the way of resource while waiting?

Jon Paris
Partner400

www.Partner400.com



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-2025 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.