Would the EOFCHAR setting help in your situation?

>From Help:

Operating Condition 

Syntax: SET EOFCHAR ON/OFF 

Default: ON 

If EOFCHAR is set OFF, a control-Z character will not be appended to the 
end of output files. 


Mike Ramsour
AK Steel Coshocton Works
Quality Department
Phone:  740-829-4340
Cell:  740-502-1659



From:   Steve Hartmann <[email protected]>
To:     [email protected] (RBASE-L Mailing List)
Date:   03/22/2013 08:32 AM
Subject:        [RBASE-L] - Eliminating the CRLF on a Write Statement
Sent by:        [email protected]



I am creating a txt file that is fed into another system.  The file has 
multiple record types and I am creating it using WRITE statements.  The 
problem is that when I create the Trailer record R:Base is automatically 
adding the CRLF to the end.  This creates another record in the file and 
we have to manually remove the last 2 characters in the file.  I need a 
technique for creating this last record without a CRLF on the end.
 
Steve
[email protected]




Confidentiality Notice
This message is intended exclusively for the individual or
entity to which it is addressed and may contain privileged,
proprietary, or otherwise private information.  
If you are not the named addressee, you are not authorized
to read, print, retain, copy or disseminate this message or
any part of it.  If you have received this message in error,
please notify the sender immediately by e-mail and delete
all copies of the message.

Reply via email to