<div> Thanks Mike - that's exactly what's needed -- doesn'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"><<a href="mailto:mschw@athenet.net">mschw@athenet.net</a>></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">> Trying to create an export (fixed length) using following syntax:<br>><br>> export ascii ach=/appl/fpmerge/achtest.txt -X r=\n<br>><br>> then do all my field assignments, etc<br>><br>> ach(1)=1;ach(2)=2...etc<br>
><br>> When the file is created it's not adding a line feed after each record?<br>><br>> I have tried with and without the r=\n ??<br>><br>> When looking at the output file, it just lists the records one after the<br>
other<br>><br>> i.e. file looks like:<br>><br>> 627065400153 45496004627314074269 104280298<br>> ^ new record should start here<br>><br>> Should look like:<br>
><br>> 627065400153 45496004<br>> 627314074269 104280298<br>><br>> Why is it not adding the line feed?<br>><br>> Thanks for any insight<br>><br>> 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("13") {chr("10")<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>