They cannot be represented as empty characters. They have to be changed to string first and then filled with an empty space. If you would like to retain their type then put the appropriate value. Like say 0 for integer and 0.00 for Decimal (3,2).
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
DSguru2B wrote:They cannot be represented as empty characters. .
Is there really no way to do this? I'd like to replace an existing process that produces an output file with NULL dates represented by adjacent delimiters rather than a substituted value representing NULL.
ray.wurlod wrote:If you set the Null Field Value property to "" you will get adjacent delimiters in your output file.
This only seems to work for certain datatypes. What if my inbound delimited source file represents Null dates using adjacent delimiters? When I set the Null Field Value to "", I receive an error stating "A fixed length field cannot have a "null_field" of length 0 on import".
True. But someone had already posted that you can specify VarChar. Then all will be well. After all, there are no "real" data types in text files, only text.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.