Prepare your environment on UNIX

Test and debug your DataBlade® module in a nonproduction HCL OneDB™ database server environment because debugging interferes with the operation of the database server.

To successfully test and debug your DataBlade module, set your environment so you can access your HCL OneDB database server installation and build your DataBlade module shared object.

To run your HCL OneDB database server, check that these environment variables are set properly: ONEDB_HOME, PATH, LD_LIBRARY_PATH, ONCONFIG, and ONEDB_SERVER. See the HCL OneDB Administrator's Guide for more information about configuring your HCL OneDB database server.

When testing your DataBlade module, set the TESTDB environment variable to the name of your test database.

To recompile your DataBlade module shared object file during debugging, also set the TARGET environment variable. See Compiling on a UNIX operating system for more information about the TARGET environment variable.