|
You are absolutely correct. Glad to have introduced you to the Key parms of data queues. Remember that the parms are packed numeric or character. No integers here. So CL works great cause you only have packed or character data. I don't know the default in COBOL. Good luck, -----Original Message----- From: Weatherly, Howard [mailto:Howard.Weatherly@dlis.dla.mil] I am not all that familiar with RPG but the call in a CL or COBOL would have the same parms so that makes sense, so lets see if I understand this, as I am retrieving the data from the Queue by key, I would get only those items having an equal key (if I was selecting for =), and that item once read is no longer available on the Queue. After all items with that key are retrieved I will get a 0 value in the length parm even though there may be other items in the queue with different key values. Other processes can be concurrently processing their own uniquely identified items from that queue? Heck if it's that simple I should have done that from the get go even though I was not aware of the need!
As an Amazon Associate we earn from qualifying purchases.
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.