× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I've used *USRQ's in QTEMP, and the only "gotcha" I remember was that *USRQ's are limited in size to about 24 MB. That shouldn't normallly be a problem, but in our application, we could exceed 24 MB on vary rare occasions. We had to build homemade queues out of multiple *USRSPC's (and a *USRIDX if it required keys).

The 24 MB number seems very strange. Usually objects are limited to some multiple of 16 MB (the size of a segment group). E.g. *USRSPC's are limited to 16 MB because they are designed to consist of just one segment group.

I never dug in deep enough to find why the 24 MB limit.

--Dave

James H H Lampert wrote:
Dave McKenzie <davemck@xxxxxxxxxxxxx> wrote:
Since you mentioned FIFO access, you may also be thinking of a User Queue, which you can create with the QUSCRTUQ API, and access with ENQ and DEQ/DEQWAIT instructions (in MI or C).

Thanks. I'd forgotten the somewhat convoluted way in which *USRSPCs can be made self-expansile, and I've never used a *USRQ.

Are there any known V5 "gotchas" regarding *USRQs in QTEMP?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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