SQL/MX Remote Conversational Interface (RMXCI) Guide for SQL/MX Release 3.1 (H06.23+, J06.12+)

SQL>set timing on
SQL>localhost ls
rmxci-perl.pl
rmxci-python.py
rmxci.cmd
rmxci.pl
rmxci.py
rmxci.sh
Elapsed :00:00:00.078
LOG command
The log command logs the entered commands and their output from RMXCI to a log file. If this is
an obey script file, then the command text from the obey script file is shown on the console.
Syntax
LOG { ON [CLEAR, QUIET, CMDTEXT {ON | OFF}] | log-file [CLEAR, QUIET, CMDTEXT {ON | OFF}] | OFF }
ON
starts the logging process and records information in the sqlspool.lst file in the RMXCI
install directory.
CLEAR
instructs RMXCI to clear the contents of the sqlspool.lst file before logging new information
to the file.
QUIET
specifies that the command text appears on the screen, but the results of the command are
written only to the log file and not to the screen.
CMDTEXT ON
specifies that the command text and the log header are displayed in the log file.
CMDTEXT OFF
specifies that the command text and the log header are not displayed in the log file.
log-file
is the name of a log file into which RMXCI records the entered commands and their output. If
you want the log file to exist outside the local directory where you launch RMXCI (by default,
the RMXCI install directory), specify the full directory path of the log file. The log file need not
exist, but the specified directory must exist before you run the log command.
log-file CLEAR
instructs RMXCI to clear the contents of the specified log-file before logging new information
to the file.
OFF
stops the logging process.
Considerations
You must enter the command in one line.
Use a unique name for each log file to avoid writing information from different RMXCI sessions
into the same log file.
Examples
The following command starts the logging process and records information to the
sqlspool.lst file in the RMXCI install directory:
72 RMXCI commands