Write data to Seq. File - Remove Additional Delimeter in it
Posted: Mon Feb 28, 2005 9:41 pm
Hi,
We have a job which takes data from Oracle 9i stage and writes data to sequential file (It has only very small amount of data less than 20 rows). I am using Delimter as command and Quote as double and writing the data to the Seq. File. In the next job i am reading the seq. file and i was not getting the data properly, on ananlysis we found that in one of the column which is a character fiels has newline character (\n) in between the data which is creating problem while reading the data from the file. It reads the data of only those records which does not have the newline character and writes to the target Oracle stage another table. But i want the data to read by eliminating this new line character and write to the target.
Can anyone help me geting a correct solution for the same.
Regards,
Rajeev Prabhu
We have a job which takes data from Oracle 9i stage and writes data to sequential file (It has only very small amount of data less than 20 rows). I am using Delimter as command and Quote as double and writing the data to the Seq. File. In the next job i am reading the seq. file and i was not getting the data properly, on ananlysis we found that in one of the column which is a character fiels has newline character (\n) in between the data which is creating problem while reading the data from the file. It reads the data of only those records which does not have the newline character and writes to the target Oracle stage another table. But i want the data to read by eliminating this new line character and write to the target.
Can anyone help me geting a correct solution for the same.
Regards,
Rajeev Prabhu