|
On 26/01/2006, at 8:12 AM, rob@xxxxxxxxx wrote:
Also, when I debug I get: EVAL errc0100 BYTESPROVIDED OF ERRC0100 = 266 BYTESAVAIL OF ERRC0100 = 28 EXCEPTIONID OF ERRC0100 = 'CPF6948' RESERVED1 OF ERRC0100 = '0' eval exceptdata :x 00000 02000050 00000008 00000002 40404040 00010 40404040 40404040 40404040 40404040How do I tie that in with DSPMSGD CPF6948? Like wouldn't the value of &1help me flag exactly where the error is?
It does. You already know (from your first append) the layout of the message data. Applying that layout to the information above gives:
&1 = 0x02000050 ==> 33554512 &2 = 0x00000008 ==> 8 &3 = 0x00000002 ==> 2So reason code 2 is the cause. The length of the receiver variable is bigger than the space you supplied. In this example it is 33,554,512 bytes. In your first append it was 31,981,648 bytes so both are suffering from the same root cause. Because you use %len to determine the length of the receiver variable data structure it is unlikely that the compiler is calculating the length incorrectly. I suspect the cause may be your prototype definition which you've not supplied.
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.