<div>  Thanks Mike - that&#39;s exactly what&#39;s needed -- doesn&#39;t really follow their own syntax in their examples, but at least it works</div>
<div>  Much appreciated</div>
<div> </div>
<div>  Scott<br><br></div>
<div class="gmail_quote">On Wed, Aug 10, 2011 at 5:06 PM, Mike Schwartz <span dir="ltr">&lt;<a href="mailto:mschw@athenet.net">mschw@athenet.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">&gt; Trying to create an export (fixed length) using following syntax:<br>&gt;<br>&gt; export ascii ach=/appl/fpmerge/achtest.txt -X r=\n<br>&gt;<br>&gt; then do all my field assignments, etc<br>&gt;<br>&gt; ach(1)=1;ach(2)=2...etc<br>
&gt;<br>&gt; When the file is created it&#39;s not adding a line feed after each record?<br>&gt;<br>&gt; I have tried with and without the r=\n ??<br>&gt;<br>&gt; When looking at the output file, it just lists the records one after the<br>
other<br>&gt;<br>&gt; i.e.  file looks like:<br>&gt;<br>&gt; 627065400153        45496004627314074269     104280298<br>&gt;                                            ^ new record should start here<br>&gt;<br>&gt; Should look like:<br>
&gt;<br>&gt; 627065400153        45496004<br>&gt; 627314074269        104280298<br>&gt;<br>&gt; Why is it not adding the line feed?<br>&gt;<br>&gt; Thanks for any insight<br>&gt;<br>&gt; Scott<br><br></div></div>    With the -X option, as I recall, you have to add your own carriage<br>
return/linefeed (or whatever you want to terminate each record with)<br>yourself.<br><br>    For example, you need a line like:<br><br>ach(10)=chr(&quot;13&quot;) {chr(&quot;10&quot;)<br><br>    at the end of the fields you are writing, if you want a DOS formatted<br>
file.<br><font color="#888888"><br>Mike Schwartz<br><br><br><br><br></font></blockquote></div><br>