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



I'm not aware of any per-record limit. (By record, I'm actually assuming you mean a particular set of XML tags.)

There's a limit to the maximum size of an array, a maximum size of a data structure, etc... these may very well be the limits you are encountering. Many of these limits changed in v6r1 (versus v5r4) so knowing the error message you're getting, plus the release level will give us a lot more info.

How these limits affect you will depend on the layout of your XML. In a simple XML document, the %HANDLER BIF might be all you need to bypass the limit. In a more complex document, you may have to resort to XML-SAX.

Here are some articles that might help (depending on what the problem actually is):

http://systeminetwork.com/article/xml-maximum-length
http://systeminetwork.com/article/xml-read-xml-data-larger-65535
http://systeminetwork.com/article/xml-output-array-larger-16-mb
http://systeminetwork.com/article/ptfs-version-61-enhance-rpgs-xml
http://systeminetwork.com/article/rpgs-xml-sax-opcode


Smith, Mike wrote:
I have started looking today at reading my first XML file. I have been
able to read the file using XML-into(thanks to Scott K. and Bruce V.),
but it appears that maybe there is a limit to how many records I can
process(500). The file I will be processing can have thousands of
records in it. How do I get over this limit?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.