Testing Basic Operations
- Last Updated: April 5, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
The following procedure uses a shell script on a 32-bit UNIX machine.
-
Export the required environment variables using oalocal.sh
$ . oalocal.sh $ env | grep ODBC ODBCINI=/usr/oaodbclocal/odbc.ini OALOCAL_ODBC_HOME=/usr/oaodbclocal/lib -
Use
tools/odbcisqlto access the installed sample data source named DataSourceName. DataSourceName is a predefined ODBC data source that is defined in ODBC.ini.$tools/odbcisql -
From the ISQL prompt, run the following isql commands:
ISQL>CONNECT username*password@mydsnISQL>SELECT * FROM emp;ISQL>SELECT * FROM dept;ISQL>SELECT * FROM oa_tables; -
Use
admin/oacla.shto view the configured services.$admin/oacla.sh -
Run the oacla commands:
oacla>ServiceListoacla>ServiceInfooacla>DataSourceList