Spaces in the File
Posted: Wed Sep 23, 2009 2:30 pm
Hello
I have a scenario where my input File is delimited by ; and i need to produce a fixed width file.
I am using seqfilestage---colimport stage---transformer-seqfile
My input File looks like below with each field delimited by ;
abc;def;ghi,jkl
now iam parsing the four Feilds via Column import stage as 4 fields
The format i have mentioned in the format tab of the column import stage is
Final Delimiter=end
Field Delimiter=;
In the Column Import stage the SQL type i mentioned as Varchar
After parsing via Col Import stage and trimming each and every field in the transformer i still get one extra space at the end of every field.
Is it common if so how to delete those spaces.
thanks
I have a scenario where my input File is delimited by ; and i need to produce a fixed width file.
I am using seqfilestage---colimport stage---transformer-seqfile
My input File looks like below with each field delimited by ;
abc;def;ghi,jkl
now iam parsing the four Feilds via Column import stage as 4 fields
The format i have mentioned in the format tab of the column import stage is
Final Delimiter=end
Field Delimiter=;
In the Column Import stage the SQL type i mentioned as Varchar
After parsing via Col Import stage and trimming each and every field in the transformer i still get one extra space at the end of every field.
Is it common if so how to delete those spaces.
thanks