|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error using TDS Format |
« View previous topic :: View next topic » |
Author |
Message
|
Luca81 |
Posted: Wed Jun 13, 2007 4:06 am Post subject: Error using TDS Format |
|
|
Acolyte
Joined: 01 Mar 2007 Posts: 62
|
Hi all,
I have a MRM message (TDS format).
I have a decimal element "Tax" so defined:
Lenght: 8
Justification: Right Justify
Padding Char: '0'
Vertual Decimal Point: 5
Signe Orientation: Leading
When I set 4805.00000000 value to the 'Tax' Element I have this error
{decimal}.{string}.{8}.{4805.00000000}.
{[2488]Error detected, rethrowing}.{[5286]ImbRecoverableException caught from worker when attempting to write out the bitstream.}.{[5447]TDS writing error}.{[5507]CPI InputData Too Long}.
I think because the number has more than 8 characters (12)
But if I set 4.67200000 value to the 'Tax' Element I don't have the error... and 4.67200000 has 9 characters.... can u explain me the reason?
Thx u very much... and sorry for my en.
Luca |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 13, 2007 4:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What are the inserts that come with that 5507? Are you sure it's for the Tax element? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vk |
Posted: Wed Jun 13, 2007 5:52 am Post subject: |
|
|
Partisan
Joined: 20 Sep 2005 Posts: 302 Location: Houston
|
Hi Luca81,
For a decimal element defined with a length of 8 and a virtual decimal point of 5, the maximum value permitted will be 999.99999. The decimal point will be removed by the parser while writing the output bitstream.
In your case 4805.00000 is greater than the maximum value.
Regards,
VK. |
|
Back to top |
|
 |
Luca81 |
Posted: Wed Jun 13, 2007 10:30 am Post subject: |
|
|
Acolyte
Joined: 01 Mar 2007 Posts: 62
|
vk wrote: |
Hi Luca81,
For a decimal element defined with a length of 8 and a virtual decimal point of 5, the maximum value permitted will be 999.99999. The decimal point will be removed by the parser while writing the output bitstream.
In your case 4805.00000 is greater than the maximum value.
Regards,
VK. |
Thx u a LOT!!
I solved!
Bye bye |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|