Author |
Message
|
rajasri |
Posted: Tue Feb 06, 2007 3:46 am Post subject: .. (data of len Ô“ truncated) ?????? |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Hi all, I have invalid message as an input for my flow. it raised parser exception at input node. a pert of the exception list is given below..
<Text>4d442020020000000000000008000000ffffffff0000000011030000b50100004d514852463220200000000000000000414d5120434954434f5f514d47523120... (data of len Ô“ truncated)</Text></Insert><ParserException><File>F:\build\S600_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp</File><Line>445</Line>
some part of data is getting truncated nd it is shown like this.
...(data of len Ô“ truncated)
I need to convert this exceptionlist into character stream and store it in database. I am not able to do so as an exception is thrown saying invalid symbol. Can any one tell me, why am i getting ...(data of len Ô“ truncated). is there any way so that i can get the entire message in exception list with out that symbol |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 06, 2007 4:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you'll have to inspect the message before the stream and after byte for byte.
Remember this can as well be due to missing MQFMT_TEXT format or due to a file upload in a binary ftp transfer when it should have been transferred as text...(CR/LF problem)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 06, 2007 4:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You're seeing a number or a replacement value in that message.
The code that builds the ExceptionList is truncating the binary datastream, and reporting how much it truncated to you. You can't, that I'm aware of, control this behavior.
What code are you using to convert the exception list into a character stream? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Tue Feb 06, 2007 6:43 am Post subject: Re: .. (data of len Ô“ truncated) ?????? |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
rajasri wrote: |
<Text>4d442020020000000000000008000000ffffffff0000000011030000b50100004d514852463220200000000000000000414d5120434954434f5f514d47523120... (data of len Ô“ truncated)</Text></Insert><ParserException><File>F:\build\S600_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp</File><Line>445</Line>
some part of data is getting truncated nd it is shown like this.
...(data of len Ô“ truncated)
|
Since a change was made in WMB 6.0.0.3 for an APAR concerning long data fields... can I assume that you are funning this level?
If so, then the information ...(data of len Ô“ truncated) .. is returning an invalid length, so I would suggest that you open a problem report with IBM Service. _________________ Bill Matthews |
|
Back to top |
|
 |
dirac |
Posted: Tue Feb 06, 2007 7:35 am Post subject: |
|
|
Novice
Joined: 31 Mar 2005 Posts: 23
|
Bill is right. The scrambled field in data of len truncated is a bug that has appeared in v6 CSD3. The data of len truncated message should not appear in v6 CSD2. Report it to IBM Service. |
|
Back to top |
|
 |
|