Sequential File read problem
Posted: Mon Apr 30, 2007 12:18 am
Hi,
While trying to use a Sequential file stage (.CSV file) as input with delimiter 'comma' and Quote 'none', I am facing the following problem :
For records like :
XYZ,GHT,UJY - the stage reads the input data properly ( three fields with values XYZ,GHT,UJY respectively)
However some of the records are appearing in the file like this :
"""XYZ,GHT,UJY""","""IJY""" - In this case data is should be read as two fields 'XYZ,GHT,UJY' and 'IJY'
But it is reading them into four fields XYZ,GHT,UJY and IJY respectively.
Please advise.
While trying to use a Sequential file stage (.CSV file) as input with delimiter 'comma' and Quote 'none', I am facing the following problem :
For records like :
XYZ,GHT,UJY - the stage reads the input data properly ( three fields with values XYZ,GHT,UJY respectively)
However some of the records are appearing in the file like this :
"""XYZ,GHT,UJY""","""IJY""" - In this case data is should be read as two fields 'XYZ,GHT,UJY' and 'IJY'
But it is reading them into four fields XYZ,GHT,UJY and IJY respectively.
Please advise.