Design Tools & Output Technologies - JDE1 (MOSC)

MOSC Banner

How to Trap Error Executing B75C003 WritetoFlatFile function?

edited Jan 13, 2015 10:00AM in Design Tools & Output Technologies - JDE1 (MOSC) 2 commentsAnswered

We have a custom UBE running on the iSeries OS400 which uses function B75C003 WritetoFlatFile to write records. Most of the records are writing successfully, but some are being dropped. We haven't found any discernible pattern as to which records get dropped. The debug log shows the error 022U is occurring, but that is a generic error that it failed to write the line. Looking at the code for the function, it happens when it compares a count of the characters it tried to write to a count of the characters actually written.

Is there anything we can do on the iSeries side to get to a more informative error message?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center