|
Currently I have on program that does the lookup. Will this be faster? Justin Houchin Programmer and Web Developer www.reliatek.com justin@reliatek.com -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On Behalf Of Buck Calabro Sent: Thursday, December 19, 2002 12:52 PM To: rpg400-l@midrange.com Subject: RE: Data Queues Beginner Question >Could I use data queues for looking up >inventory quantities? Sure. Think of data queues as messengers. On the one end you have a client who needs to know the on hand quantity. So he puts a message on the queue with the part number. Then you have a server program you wrote who is listening to that queue. When he hears the message, he does the lookup and returns the quantity by putting a message on another queue (or the same one.) You can make the queues 'keyed' so that the two ends of the transaction share a common ID number. client: send ID 541, part ABC server: recv ID 541, part ABC look up ABC send ID 541, part ABC, qty 34 client: recv ID 541, part ABC, qty 34 --buck _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.