Type the command

SHOW ECHO

at the R> prompt.  You will see that somehow this is set ON.  Type SET ECHO 
OFF, and you should be okay (but if you notice it getting turned on, you have 
SET ECHO ON somewhere in your command files).
--
Larry




________________________________
From: Ed Rivkin <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Thursday, April 23, 2009 11:20:19 AM
Subject: [RBASE-L] - Write Command to ASCII File

Hi folks,
In my 4.5 application I employ a basic application logging. After
each Form program or .cmd that performs table updates, I 
write one line to an ASCII file with the procedure run, date and time
stamp. If needed I read the file back into a table and generate a
report for the user to re-run those procedures after restoring
the database from backup.

For example, after running the command Bounce, I execute the
following code in my .rmd (formerly .cmd).

OUTPUT hist.bak APPEND
WRITE bounce .#DATE .#TIME h
OUTPUT SCREEN

In R:Base 4.5 the result in the hist.bak file would be:

bounce 04/21/2009 23:50:22 h

In R:Base 7.6 I am getting the following result:

WRITE bounce .#DATE .#TIME h
bounce 04/21/2009 23:50:22 h
OUTPUT SCREEN

I've scoured the command index reference for an alternative
and haven't found it. I also tried creating variables and 
then changing the Write command to write a variable string
directly to the file but that didn't work for me.

Any suggestions or hints? I would prefer to keep the log
writes to a file outside of R:Base because it's a log from
the last backup forward.

TIA,
Ed

Reply via email to