|
Jocke, I always think about a "Data Queue" as being a communications object, perhaps more akin to a socket than to a file... If you've got two programs that are running at the same time, and they need to send & receive data from each other while their both running, data queues work great. If the programs run one after the other in the same job stream, I'd suggest using either a PF, or if speed is more important than the ease of the programming, use a User Space. The Object API's gives the syntax of how you can call the various data queue API's... but those API books aren't the easiest place to learn new things... To get started with Data Queues, I'd actually suggest looking at the "CL Programming" manual, which has a section on "Using Data Queues." Then, just adapt this knowledge to RPG... the CL Programming Manual: http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QBKAUO00/CCONTENTS The specific chapter: http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QBKAUO00/3.5 Hope that helps... Jocke Berggren <jocke@fsys.se> wrote: > How do I use DTAQ's between two RPG programs to exchange data ? > > Today we use a physical file with the write, read, delete method. > > Can't find anything about DTAQ's in the RPG IV manuals..... > > Whats the benefit of using DTAQ's anyway ? +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.