Thanks Mike, what I was looking for.

Brad Davidson

 

From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, May 02, 2012 9:24 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Appending WRITE to Text File

 

Brad: 

Here is some sample code I use all the time to append comments to a file: 

SET VAR PROG_CMD_VAR TEXT = ('RUN' & .PROG_NAME_VAR + '.RMD')
--
SET VAR PROG_MSG_VAR TEXT = ('STARTING RUN OF' & .PROG_FILE_NAME & '@' &
(CTXT(.#NOW)))
--
OUTPUT LOOPER.LOG APPEND
--
WRITE .PROG_MSG_VAR
--
OUTPUT SCREEN
--



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



From:        "Brad Davidson" <[email protected]> 
To:        [email protected] (RBASE-L Mailing List) 
Date:        05/02/2012 12:21 PM 
Subject:        [RBASE-L] - Appending WRITE to Text File 
Sent by:        [email protected] 

  _____  




What is the syntax for appending write statements to an existing text file? 
  
I want to merge results of a several select statements, written to file, to
an existing master txt file. 
  
Thank you! 
Brad Davidson 

 
 
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