[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Export Record Has An Arrow Character At File End? (AREV Specific) ==== === At 12 MAY 2000 03:28:49PM Jim Dierking wrote: === {{tag>"AREV Specific"}} I am working on the UPS Export File which may not have any carriage returns or other such characters. There is an right arrow at the end of the export file which their upload will not allow. What is this character? and... is there a way to suppress it using AREV's export module? TIA, Jim ---- === At 12 MAY 2000 04:24PM Bill Titus wrote: === The right arrow is ASCII(26), the DOS end-of-file character I believe. I'm afraid I can't suggest a way to get rid of it using Export. ---- === At 12 MAY 2000 08:03PM Jim Dierking wrote: === Thanks Bill. We were able to get rid of it by xlate the dos string to a variable, obtaining the length and stripping one digit, then writing the string back to the dos file. Works perfectly. Jim ---- === At 13 MAY 2000 12:31AM Don Bakke wrote: === Hopefully your files will never grow more than 64K then. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === At 13 MAY 2000 03:03PM Bill Titus wrote: === Don, Assuming the file IS larger than 64K, is there a simple way from within Arev to obtain the true size of the file in bytes so that you can OSOPEN, OSBREAD the last 100 bytes of the file, and then OSBWRITE back all but the last one CHAR(26)? ---- === At 14 MAY 2000 01:07AM Don Bakke wrote: === Bill, Yes, pretty much just the way you described it. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === At 14 MAY 2000 03:36AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Group[/url] wrote: === Well the Char(26) should only be there if you have specified char(26) as the end of file character - so removing this definition from the export should work! As for getting the end character - use the DIR command to get the exact length [i]e.g.[/i] Length=Dir('f:\arev3_1\datavol\export.txt') (Fields 2 and 3 give you date and time). [url=http://www.sprezzatura.com" ]Sprezzatura Group[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=67089D5A549960F4852568DD006B0285|View this thread on the forum...]]