SQL/MX Remote Conversational Interface (RMXCI) Guide for SQL/MX Release 3.2 (H06.25+, J06.14+)
Considerations
• If seconds or minutes is not specified, the default is seconds.
• The maximum delay limit is 3600 seconds. You can override this value by setting
rmxci.maxDelayLimit in _JAVA_OPTIONS. The unit is seconds for
rmxci.maxDelayLimit.
Examples
With the following command, RMXCI goes into sleep mode for five seconds:
SQL>delay 5 secs
With the following delay command, RMXCI session goes into sleep for five minutes and then runs
the command to exit the session:
SQL>delay 5 mins
SQL>exit
DISCONNECT command
The disconnect command terminates the connection to the database platform. The RMXCI session
remains open even after this command is run.
Syntax
DISCONNECT [WITH][status][IF{condition}]
status
is any 1-byte integer. The status is a shell return value, and the range of allowable values
is platform dependent.
condition
is the same as the condition parameter defined for the “IF...THEN command” (page 91). See
“Condition Parameter” (page 91).
Considerations
You must enter the command in one line.
Examples
The following command terminates the connection to the database platform. You can connect to
the database platform by using the connect and reconnect commands:
SQL>disconnect
Session Disconnected. Please connect to the database by using
connect/reconnect command.
ENV command
The env command displays the attributes of the current RMXCI session. You can also use the
session and show session commands to perform the same function.
Syntax
ENV
DISCONNECT command 83










