Issue in Reading a Sequential File
Posted: Wed Jul 27, 2011 12:09 pm
Hi Guys,
I am trying to read XML file using the Sequential file stage. I am giving a Record delimiter as </Transaction> (closing Transaction Tag).
But for some reasons, after 10 records the job is throwing error that delimiter is not present. But i am able to see the delimiter. In fact, i did a grep on the Closing tag to check the number of records which was exact number of records which is needed.
I created a new XML from my source MQ queue. Even the new XML file, aborted after processing 10 records(using peek stage am able to say this). I even removed the 11th record and kept the remaining records. Still, i am having the same issue.
So, can somebody let me know what is going wrong.
Cheers!!
I am trying to read XML file using the Sequential file stage. I am giving a Record delimiter as </Transaction> (closing Transaction Tag).
But for some reasons, after 10 records the job is throwing error that delimiter is not present. But i am able to see the delimiter. In fact, i did a grep on the Closing tag to check the number of records which was exact number of records which is needed.
I created a new XML from my source MQ queue. Even the new XML file, aborted after processing 10 records(using peek stage am able to say this). I even removed the 11th record and kept the remaining records. Still, i am having the same issue.
So, can somebody let me know what is going wrong.
Cheers!!