The example script, named ODBC_example.rex, demonstrates how to use Reginald’s ODBC add-on to connect to, and issue commands, to an SQL database. This script is written to use either a mainframe DB2 system, or a test system running SQLite. The choice is yours as to which type of test system you want to use when writing your own REXX ODBC scripts. The advantage of using SQLite is that you have full control over your test system, and can therefore eliminate any setup/network problem. With SQLite, your database manager and your test script both run upon the same system, thus simplifying some of the setup.