Line breaking in sequential file
Posted: Wed Jun 24, 2009 7:58 pm
Hi everybody!
As I'm new here at this community, maybe I haven't see all the topics for this question.
Even so, I'm facing this problem in a sequential file.
I've created two jobs, one to query a table in a DB2 database and creates a sequential file with some records. The other reads this file.
There is a DESCRIPTION field which has the description content where for some records it has breaking lines. This field is a CLOB type.
The issue I'm facing is, when the DS creates the seq file, it's also creating those braking lines.
When I run the other job to read the seq file, DS returns an error because it understands the breaking lines are the end of the records but not, they are the DESCRIPTION field continuation.
I've already tryed setting the record delimiter in the Sequential File Format stage with different characters, but not succeded.
If anyone has experienced this same issue I apreciate you're sharing to solve this.
Thanks and best regards.
As I'm new here at this community, maybe I haven't see all the topics for this question.
Even so, I'm facing this problem in a sequential file.
I've created two jobs, one to query a table in a DB2 database and creates a sequential file with some records. The other reads this file.
There is a DESCRIPTION field which has the description content where for some records it has breaking lines. This field is a CLOB type.
The issue I'm facing is, when the DS creates the seq file, it's also creating those braking lines.
When I run the other job to read the seq file, DS returns an error because it understands the breaking lines are the end of the records but not, they are the DESCRIPTION field continuation.
I've already tryed setting the record delimiter in the Sequential File Format stage with different characters, but not succeded.
If anyone has experienced this same issue I apreciate you're sharing to solve this.
Thanks and best regards.