<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt; DOS files used to end ^Z...it marked eof. xtod is prolly emulating this<br>&gt; format.<br></blockquote>

<div>To be precise DOS TEXT files use ^Z as an EOF marker and CSV per se is not a &quot;text&quot; file. What ever is reading in the data is not expecting the ^Z as it reads the file.</div>
<div>&nbsp;</div>
<div>tr seems a good answer as you suggested or use open/writeline/close and create the file completely yourself and don&#39;t use xtod.</div>
<div>&nbsp;</div>
<div>Ken</div></div>