|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issue with timestamp in DFDL |
« View previous topic :: View next topic » |
Author |
Message
|
mahic |
Posted: Wed Jan 20, 2021 9:55 am Post subject: Issue with timestamp in DFDL |
|
|
Newbie
Joined: 20 Jan 2021 Posts: 1
|
Is there a way to use microseconds with DFDL. I see that DFDL does not support yyyy-MM-dd HH:mm:ss.SSSSSS with the "SSSSSS" at the end . As per DFDL ,last three "SSS" will be replaced by 0. |
|
Back to top |
|
 |
timber |
Posted: Thu Jan 21, 2021 6:02 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Please specify whether you are using DFDL for parsing or writing your data. Also, if you make claims like 'DFDL does not support...' then you should cite your source.
I don't know of any workarounds for this restriction. |
|
Back to top |
|
 |
rekarm01 |
Posted: Wed Jan 27, 2021 5:55 pm Post subject: Re: Issue with timestamp in DFDL |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
mahic wrote: |
Is there a way to use microseconds with DFDL. |
No, not with ace11, but there is at least one work-around, to use xs:string with DFDL, and use microseconds with ESQL timestamps.
mahic wrote: |
I see that DFDL does not support ... "SSSSSS" at the end . |
DFDL itself supports it:
Quote: |
Any number of fractional seconds "S" may by specified in the pattern and accepted by implementations, but an implementation is free to represent a limited number of fractional seconds internally. Excess fractional seconds are truncated, not rounded up. At least millisecond accuracy must be implemented. |
But specific implementations might not:
Quote: |
Fractional second digits are supported to millisecond accuracy. |
An RFE could persuade IBM to support increased xs:dateTime precision in future implementations. |
|
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
|
|
|
|