× 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 2014-03-03 09:45, Wyatt, Chris (FGWA-IL) wrote:
...
That is, I thought I had exhausted all permutations of the path, allowextra and allowmissing options along with the construction/naming of the data structure. And I had looked all over Google for examples. Most of the examples I found were using very straightforward XML and therefore, not extremely helpful. Also, the DS situation becomes confusing in a hurry to me.


Hi Chris, about allowmissing, since you're a) on 6.1 and b) new to XML-INTO, I suggest that you pretend that the allowmissing option doesn't exist.

The trouble with allowmissing=yes is that it allows _everything_ to be missing. The countprefix option gives you more control over what you want to allow to be missing. The little bit of extra coding required for countprefix is nothing compared to the hours of hair-tearing debugging that allowmissing=yes can cause.

You can find the documentation for countprefix in the 7.1 ILE RPG Reference http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/rzasd/sc0925081031.htm#countprefixopt (the XML-INTO info in the 7.1 reference also applies to 6.1 with PTF SI34938).


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.