|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Handeling the nukl values in MRM/TDS1 |
« View previous topic :: View next topic » |
Author |
Message
|
ydeonia |
Posted: Thu Jul 25, 2013 3:11 pm Post subject: Handeling the nukl values in MRM/TDS1 |
|
|
Acolyte
Joined: 29 Oct 2012 Posts: 74
|
Hi
This could be very basic question but jI jdid everything to get the null values in output but failed.
I have a flat file input with delimiter '|' and input data is something like
Quote: |
gggggs|yette|jsjtsg|TRUE|FALSE|||| |
For now the ouput is coming as
Code: |
gggggs|yette|jsjtsg|TRUE|FALSE |
The last values can have values and can be null too.
If the last value is null. If I get the values in that in input the out put works
How can I get the null values as it is in output too.
The compute node is set to Output = Input . But in message set I have Set the "NullLogicalValue" MinOccurs 0 and Max 1.
what else i have to check ?
Thanks |
|
Back to top |
|
 |
ydeonia |
Posted: Thu Jul 25, 2013 10:15 pm Post subject: |
|
|
Acolyte
Joined: 29 Oct 2012 Posts: 74
|
Thanks all , the issue is fixed.
i just changed Suppress Absent Element Delimiter property from End of Type to Never. 
Now i can see the NULL messages in output.
Thanks[/u] |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jul 26, 2013 2:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ydeonia wrote: |
Thanks all , the issue is fixed.
i just changed Suppress Absent Element Delimiter property from End of Type to Never. 
Now i can see the NULL messages in output.
Thanks[/u] |
Excellent job solving your own problem. This is MRM, clearly, and not DFDL, the property is different for DFDL.
As you discovered, the problem wasn't that it wasn't outputting the null field, it was that it wasn't outputting the delimiter between the null field and the other fields. It can't output a null field, because there's nothing to write! |
|
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
|
|
|
|