|
The size of the queue - is it the maximum per entry or the maximum of the sum of all entries on the queue? To keep a queue from filling quickly, I have always made the maximum queue size large so I thought the latter was true. Phil > -----Original Message----- > From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On > Behalf Of Denis Robitaille > Sent: Tuesday, July 24, 2001 4:14 PM > To: RPG400-L@midrange.com > Subject: Re: Variable length variables and data queues > > > When you create the data queue, you specify the maximum size of > any entry. But you can put smaller variable in to it. Also, when > you use variable length variable, I think you must also specify > the maximum length allowed > > Denis Robitaille > Directeur services techniques > Cascades Inc > 819 363 5187 > fax 819 363 5177 > > > >>> ALBartell@taylorcorp.com 07/24/01 03:40pm >>> > I know this has been addressed before here but I can't get onto > the archive > part of midrange. > > I am writing a program to output an XML stream to a data queue for a Java > pgm to pick up. Since I am unsure of how big my XML stream could get I > would like to venture into variable length variables but I have never done > them before. I have seen an example before and I thought all I > needed to do > was put the keyword 'variable' on the definition but that doesn't seem to > work. If someone could post an example that would be great. > > Also, I am new to data queues. Can I write one data queue entry that is > 2000 characters in length and then right another entry to the same data > queue that is 3000 characters in length? I already know how to write to a > data queue but I don't know if what I described above is allowed. > > Thanks, > Aaron Bartell > +--- > | 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 > +--- > > +--- > | 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 > +--- > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com +--- | 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.