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



Hi,

I have one of those mysteries which is starting look like an IBM bug at
V6R1, but I may be missing something obvious, so any help would be
appreciated.

Take the following data structure:

D SupplierInvoice DS Qualified
D Number 35a
D Image 9999a
D ApprovalNumber 7 0
D SupplierNumber 9 0
D InvoiceDate D
D PaymentDue D
D Currency 3a
D Amount 9 2
D Description 35a

And the following XML fragment:

<SupplierInvoice Number="I121D510102" Image="LOTS_OF_CHARACTER_DATA">
<ApprovalNumber>344976</ApprovalNumber>
<SupplierNumber>3622</SupplierNumber>
<InvoiceDate>2008-10-03</InvoiceDate>
<PaymentDue>2008-11-01</PaymentDue>
<Currency>EUR</Currency>
<Amount>98.75</Amount>
<Description>Maintenance</Description>
</SupplierInvoice>

When I execute XML-INTO as follows:

xml-into SupplierInvoice %xml(xmlfile: 'doc=file');

the data structure is populated as you would expect and all is well,
except that the 'Image' subfield contains just the first 514 characters of
the data which was in the XML with the rest of this subfield filled with
whitespace?

Kind Regards,

Joe Maguire.

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.