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

Syntax
SET HISTOPT [ALL|DEFAULT]
Considerations
You must enter the command in one line.
Examples
The following command shows only the obey command added to the history buffer.
SQL> show histopt
HISTOPT DEFAULT [No expansion of script files]
SQL> obey /usr/home/scripts/nobey/insert2.sql
SQL> ?section insert
SQL> set schema cat1.sch;
--- SQL operation complete.
SQL> INSERT INTO COURSE1 VALUES
+> ('C11', 'INTRO TO CS','FOR ROOKIES',3, 100,'CIS');
--- 1 row(s) inserted.
SQL> INSERT INTO COURSE1 VALUES
+> ('C55', 'COMPUTER ARCH.','VON NEUMANN''S MACH.',3, 100, 'CIS');
--- 1 row(s) inserted.
SQL> history;
1> show histopt
2> obey /usr/home/scripts/nobey/insert2.sql
The following command shows all the commands added to the history buffer.
SQL> set histopt all
SQL> obey /usr/home/scripts/nobey/insert2.sql
?section insert
SQL> set schema cat1.sch;
--- SQL operation complete.
SQL> INSERT INTO COURSE1 VALUES
+> ('C11','INTRO TO CS','FOR ROOKIES',3, 100, 'CIS');
---1 row(s) inserted.
SQL> INSERT INTO COURSE1 VALUES
+> ('C55','COMPUTER ARCH.','VON NEUMANN''S MACH.',3,100,'C IS');
---1 row(s) inserted.
SQL> history;
1> show histopt
2> obey /usr/home/scripts/nobey/insert2.sql
3> history;
4> set histopt all
5> set schema cat1.sch;
6> INSERT INTO COURSE1 VALUES
('C11','INTRO TO CS','FOR ROOKIES',3, 100, 'CIS');
SET HISTOPT command 109