<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>John,<br>
<br>
The r=\n means add a CR/LF which is your two extra characters.<br>
<br>
You want to leave that out and just have:<br>
<br>
export ascii file=XXXXXXX -x<br>
<br>
That will do it. Make sure the variable that you write into the
file is exactly 750 characters. <br>
<br>
Nancy<br>
</tt><br>
<div class="moz-cite-prefix">On 1/15/2020 2:32 PM, JohnMac via
Filepro-list wrote:<br>
</div>
<blockquote type="cite"
cite="mid:001801d5cbda$779c2ad0$66d48070$@mcngroup.net">
<pre class="moz-quote-pre" wrap="">Running filepro 5.8 on windows10
Creating ascii fixed length file for IRS which must be 750 characters
Using export ascii fil = C:\appl\test-file. R=\N -X it creates the file
required
To check the file, I created a non-filepro file linked to the file
C:\appl\test-file which is 1 field, 752,* instead of 750
It loads the data to view and verify. Had to add 2 characters to the
non-filepro fixed length file to view the data file otherwise it wraps the
records.
Are the extra 2 characters "-|" it loads at the end of the file a
carriage return and line feed or what are they and how do they affect the
length of the data file?
John McNaughton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20200115/810be0fc/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20200115/810be0fc/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: <a class="moz-txt-link-freetext" href="http://www.vss3.com">http://www.vss3.com</a>
</pre>
</body>
</html>