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



On Fri, Feb 22, 2019 at 4:28 PM Richard Schoen via RPG400-L
<rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

I would imagine that Python, PHP or Java on IBMi would handle this OK as well.

Java's certainly worth a try. My personal experience has been that
Python on the PC is significantly faster than Python on the i. I
suppose part of that could be that our i is on the wimpy side by
today's standards.

In any case, regardless of speed, I believe all of those languages
support SAX parsing fairly easily, and can talk directly to the
database. Especially if this is going to be a recurring thing, where
huge XML files are automatically deposited on the i, these are worth
looking at. Also, there is the PASE port of Mono, so .NET languages
are a possibility as well.

But, being as this is the RPG list, I suppose XML-SAX is probably
going to be tried before exploring whole other languages. I will say
that I would expect XML-SAX in RPG to be faster executing than SAX in
other languages. But if you don't already know how to do it in RPG, it
would probably be easier to implement in almost any other language.
And who knows, maybe Java would actually perform competitively.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.