Hi All,
I am having a source file like this column1,column2(xml tag),column3.
I read it and pass the column(xml) to the xml input stage and then to the targets.The job aborts after reading a million rows and throws the "ACCESS VIOLATION ERROR".
I guess these are some data related issues.I have written a routine to strip the unwanted characters but I need to read the data first.
My question is I am reading the data as a varchar field.Its able to read some but could not read all.Any inputs most appreciated.
Regards,
Bala.
Reading the data file
Moderators: chulett, rschirm, roy
What stage are you using to read this data and what Varchar() length did you specify? If you remove the XML stage and no longer get an error in the program, then it probably isn't an issue with input lengths.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Hi,
Thanks for the reply.Sequential file stage and the length i am specfying is 8000 for the XML column.I did another test used sequential file stage datatype as varchar 8000,removed all the other fields expect for the XML column field and written the results using another filestage.Used the strip routine as well.No issues able to read all the data.
My speculation there might be some data related issues with the other fields which propagates with the XML column field into the XML stage.
Regards,
Bala.
Thanks for the reply.Sequential file stage and the length i am specfying is 8000 for the XML column.I did another test used sequential file stage datatype as varchar 8000,removed all the other fields expect for the XML column field and written the results using another filestage.Used the strip routine as well.No issues able to read all the data.
My speculation there might be some data related issues with the other fields which propagates with the XML column field into the XML stage.
Regards,
Bala.
I don't know where your problem might be happening, but you might think about using the debugger. Find out the last "good" output line and put a breakpoint on that value, then step to the next one and see if the data contents might give a clue as to the cause of your problem. Sometimes the debugger shows the Heisenberg effect - meaning that by using it you change the error or get rid of it completely.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Sorry, Ray, I cannot do that; since it would change the result for others. But I do have a [live] cat in a sealed box for you....ray.wurlod wrote:I'm uncertain what the Heisenberg effect is - can you please amplify?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>