× 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.


  • Subject: Re: Variable length variables and data queues
  • From: "Denis Robitaille" <DRobitaille@xxxxxxxxxxxx>
  • Date: Tue, 24 Jul 2001 16:14:10 -0400

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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.