|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
DFDL Position |
« View previous topic :: View next topic » |
Author |
Message
|
Thomas2ab |
Posted: Sun Sep 21, 2014 7:18 am Post subject: |
|
|
Acolyte
Joined: 07 Mar 2014 Posts: 51
|
Hello Kimbert,
Sorry to bother you but I could not find another property than the dfdl:truncateSpecifiedLengthString (='yes') one, in order to truncate the input string to the specified length.
As I told you, this property is not supported by IBM.
Do you know another way to do that?
Thanks again,
Regards, |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 21, 2014 8:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you look in the mapping? Did you see a truncate function there?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Thomas2ab |
Posted: Sun Sep 21, 2014 9:14 am Post subject: |
|
|
Acolyte
Joined: 07 Mar 2014 Posts: 51
|
Hello,
Of course, but this is not what I want to do.
I want some property that would made the dfdl do it automatically.
Otherwise I would have to use the mapping truncate function for like more than 100 fields.
Thanks a lot,
Regards, |
|
Back to top |
|
 |
kimbert |
Posted: Sun Sep 21, 2014 12:12 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Yes - it looks as if truncateSpecifiedLengthString is not supported in current versions of IBM DFDL. I agree that it would be the ideal solution for you. I will mention it to the development team. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
Thomas2ab |
Posted: Sun Sep 21, 2014 12:20 pm Post subject: |
|
|
Acolyte
Joined: 07 Mar 2014 Posts: 51
|
Thanks Kimbert, I totally agree that it would be the best for us, otherwise the mapping complexity and the time to create the full flow will be much longer.
Do you if at least, within the mapping node we can access the dfdl:length variable in order to use the truncate function in way a bit more automatica?
Thanks a lot,
Regards, |
|
Back to top |
|
 |
kimbert |
Posted: Mon Sep 22, 2014 1:29 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
within the mapping node we can access the dfdl:length variable in order to use the truncate function in way a bit more automatically? |
There is no built-in facility for querying the DFDL schema from a message flow. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|