Originally posted by: Yusuf@BOE
Hi,
We've discovered a new feature in TX 8.1.0.3 - zero length objects.
Having discussed this with IBM, this has been described as a fix to this problem:
Example:
We have a name:value input card.
We want to lookup the value where name=Author.
Up until now there have been two possible outcomes.
1 - We find the value for Author and output it.
2 - We don't and return NONE.
Now we have a third possiblility.
3 - We do find Author but there is no value.
In the past this has returned None, but now this is described as a ZLO, and produces a zero length object, in other words a null value but including all initiators and terminators for this object.
For us, this means an line in the output with an initiator value which we didn't have in previous versions
Whilst I fully understand this
fix as IBM have described it, it now means that if we want to move to version 8.1.0.3 (which we need to do to fix other problems), we will have to go through all of our existing code for possible instances where we might get a ZLO when we expect a NONE.
Has anyone else come across this behavior?
If so, what have you done to get around it?
The obvious functions this affects are LOOKUP, EXTRACT, DBLOOKUP, DBQUERY but I think it could affect any rule where we expect a NONE or test for NONE.
Any comments or thoughts would be welcome.
Yusuf
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender