SQL/MX Remote Conversational Interface (RMXCI) Guide for SQL/MX Release 3.2 (H06.25+, J06.14+)

rmxci.pl
rmxci.py
rmxci.sh
SQL> LH mkdir /usr/home/rmxci -> Will create a directory /usr/home/rmxci
On Linux, you can enter the following command to create a directory /usr/home/rmxci:
SQL>LH mkdir /usr/home/rmxci
On Windows, you can enter the following command to create a directory c:\rmxci:
SQL>LH mkdir c:\rmxci
The following command displays the elapsed time information because the set timing
command is set to on:
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.
94 RMXCI commands