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



Paul did you check the joblog when you ran your process? The joblog may
tell you something..

On Sun, Feb 24, 2019, 8:26 AM Paul Therrien <paultherrien@xxxxxxxxxxxxxxxxxx
wrote:

It might be due to my own ignorance, but when I attempt to specify the
path name directly on mailingNumber and imbNumber I am getting an error
regarding duplicate elements.
So it seemed to me that I needed to set the XPath to the lowest unique
data element "IMB_Personalization/MailingData/Personalization".
Then, based on examples I found, to load data elements above the original
xpath I "needed" to use relative Xpath notation.

Are you suggesting I try somethig like:
mailingNumber varchar(5) default ' ' path '
IMB_Personalization/MailingNumber'
, imbNumber varchar(21) default ' ' path '
IMB_Personalization/MailingData/IMB_Number'
?

My understanding of the columns clause is that the columns paths are
described relative to the XMLTABLE XPath clause.

I will gladly take any suggestions on how to make this SQL statement more
efficient.


Paul


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Henrik
Rützou
Sent: Sunday, February 24, 2019 3:37 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <
rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Large XML file processing via XMLTABLE

Hi Paul

is there any reason for the following statements uses relative Xpath
instead of named Xpath?

mailingNumber varchar(5) default ' ' path
'../../MailingNumber'
, imbNumber varchar(21) default ' ' path '../IMB_Number'

They may cause some processing overhead.

Just an idea

On Sun, Feb 24, 2019 at 7:40 AM Richard Schoen via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

As a test of the new native Mono .Net environment on IBMi, I wrote a
little C# console app to shred a sample 29mg XML file and write to a CSV
file.

The program runs on my laptop in 3 seconds.

The same exact EXE copied to IBMi ran for about 45 seconds. (Pase Env)

Not bad for a native .Net app.

Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com





--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
Regards,
Henrik R tzou

http://powerEXT.org
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.