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



Good idea - I'll keep that in mind. At this time, I've added ON-ERROR sections and am sending an email with information from the PSDS. There are 4 status codes that XML-INTO reports, so I have something for those, plus a general one for unknown errors = that's where this one lands.

I'm still curious about why this error occurs - I think it's a bug for XML-INTO to raise this error and not handle it nicely with a status code.

I could find no documentation that would tell me to expect this error.

Vern

On 3/5/2014 7:07 AM, Henrik Rützou wrote:
Vernon,

you can use the stat64 procedure to determind the number of bytes in the
file

http://forums.iprodeveloper.com/forums/aft/77941


On Wed, Mar 5, 2014 at 1:31 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>wrote:

Henrik

It is put into the IFS by a process on a Windows box, related to an
accounts receivable application - the Windows box is internal to our
network. It might be a scheduled job on that box or it might be
scheduled using UC4.

It was decided that this XML file would be sent, even if there is no
information to send. But I had thought there would at least be XML
header - never tested it with absolutely 0 bytes in the file!

I have to say that I think that AR app is rather stupid - for many
reasons - and getting that to change is something the project leaders
decided not to pursue, as it just wouldn't happen. Since when does a
company let a software package decide what information you can pass back
and forth? What your business requirements can be? Should not your
data/business needs have precedence? Sigh!

Vern

On 3/4/2014 7:00 PM, Henrik Rützou wrote:
Vernon

how did you recieve the file ?


On Wed, Mar 5, 2014 at 12:56 AM, Vernon Hamberg <
vhamberg@xxxxxxxxxxxxxxx>wrote:
We are using XML-INTO to process a file from an external source.

This morning, the XML file was completely empty - no XML header, no
DOCTYPE, nada, zip, nullo, etc.

We got a CPE3460 "Storage allocation request failed." message.

Is it trying to allocate 0 bytes? :) Is this expected behavior?

I did see a couple hits in Google about this message and XML-INTO for
v5r4 and 6.1 - we are on 7.1 and pretty current.

I can live with it, am using a monitor around the XML-INTO section.
There are ON-ERROR sections for status 351, 352, 353, and 354 - this one
had status of 9999.

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


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





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.