|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TDS Message Set DateTime |
« View previous topic :: View next topic » |
Author |
Message
|
vk |
Posted: Wed Nov 09, 2005 8:36 am Post subject: TDS Message Set DateTime |
|
|
Partisan
Joined: 20 Sep 2005 Posts: 302 Location: Houston
|
Hi,
I need to define a DateTime element in a TDS message set. The date format in the incoming message is 2005-11-09-10:10:30.100000
I tried giving the date format for the element as yyyy-MM-dd'-'HH:mm:ss.SSSSSS. But this is not working. The parser is not able to recognise the date format in the incoming message.
If I give the format as yyyy-MM-dd'-'HH:mm:ss.SSS, it works fine. Has anyone faced this issue?
Thanks in advance,
VK. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 09, 2005 8:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
vk |
Posted: Wed Nov 09, 2005 8:57 am Post subject: |
|
|
Partisan
Joined: 20 Sep 2005 Posts: 302 Location: Houston
|
When the format is yyyy-MM-dd'-'HH:mm:ss.SSSSSS, when the milli-secinds part in the date is all zeroes (000000), the message is processed by the flow and it goes to the output queue. The milli second portion of the DateTime is not present in the output message.
When milli-seconds has any other value, the message always goes to the backout queue. In the trace file, the MRM tree is not coming.
When the format is yyyy-MM-dd'-'HH:mm:ss.SSS, the message is getting processed correctly and is getting delivered to the output queue.
In the working with messages manual, it is said that any character which comes more than 3 times, will be treated in its full format. So does SSSSSS have any other meaning?
Thanks,
VK. |
|
Back to top |
|
 |
cosbourn |
Posted: Mon Nov 14, 2005 6:24 am Post subject: |
|
|
Newbie
Joined: 14 Nov 2005 Posts: 1
|
The S symbol represents fractional seconds so .SSS represents milli-seconds and .SSSSSS represents micro-seconds.
V5 supports milli-seconds only. It supports upto and including 3 fractional seconds ie .SSS
V6 has added support for micro-seconds. It supports upto and including 6 fractional seconds ie .SSSSSS |
|
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
|
|
|
|