|
I have a call to iconv in my program as follows:then
D iconvU PR 10U 0 EXTPROC('iconv')
D iaHandle LIKE(ConvHandle) VALUE
D iaInpBuff *
D iiInpLen 10u 0 const
D iaOutBuff *
D iiOutLen 10u 0 const
wrkResult = iconvU(wrkHandle:wrkFrom:wrkFromDataLength:
wrkTo:wrkToDataLength);
When the call happens if there is not enough room in the output buffer
the wrkResult has 0xFFFFFFFF in it. (-1)the
And errorno is 3491 - Argument list too long.
The thing is the conversion has worked fine up to that point, I would be
expecting E2BIG?
Also I originally had the wrkResult coded as 10i 0, but this was causing
dreaded receiver to small to hold result error.
Does anybody have a any idea whats happening here?
Regards
Neill
As an Amazon Associate we earn from qualifying purchases.
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.