Funny characters in Sequential file columns of a paralell jo
Posted: Tue Sep 16, 2008 12:47 am
We are re-writing a certain job into parallel. The job creates a pipe-delimited flat file.
Problems is, for all varchar fields - for cases that there is less data than the field length, that DataStage is not trimming the data, as per our trimb(column) function, and is in fact inserting 'place holder' characters that resemble a vertical rectangle.
When we do a view data on the file in the job design, we do not see these characters.
When we more/vi the file in telnet, we do not see these characters.
When we try to consume the file in another system, these characters are interpreted as end of line characters and the file is truncated at column 7.
When we view the file in Textpad, we see these 'place-holder' characters.
Has anyone else experienced this, or know how we can overcome it?
Problems is, for all varchar fields - for cases that there is less data than the field length, that DataStage is not trimming the data, as per our trimb(column) function, and is in fact inserting 'place holder' characters that resemble a vertical rectangle.
When we do a view data on the file in the job design, we do not see these characters.
When we more/vi the file in telnet, we do not see these characters.
When we try to consume the file in another system, these characters are interpreted as end of line characters and the file is truncated at column 7.
When we view the file in Textpad, we see these 'place-holder' characters.
Has anyone else experienced this, or know how we can overcome it?