Test Using memory IP C example
- Last Updated: April 5, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
- Build the memory IP C example.
$ . ip/cfg/setenv.sh
OpenAccess Environment Configuration
Build: RELEASE (Unicode)
Platform: ilinux
Root: /usr/oaodbclocal810
Makefile: /usr/oaodbclocal810/ip/cfg/env.mk
$ ( cd ip/oac/memory ; make )
. . .
==== /home/oalocal810/ip/bin/oadamipmem.so built successfully ====
- Create a new data source by duplicating the DataSourceName data source and setting ServerDataSource to memory.
$ vi $ODBCINI
[MemoryCExample]
Driver=/usr/oaodbclocal810/lib/ivoal27.so
Description=Memory Ip C example
Host=/usr/oaodbclocal810/cfg/oadm.ini
Port=OpenAccessSDK810_C
ServerDataSource=memory
CustomProperties=
-
Use tools/odbcisql to test the data source MemoryCExample.
$tools/odbcisqlISQL>CONNECT pooh*bear@ MemoryCExampleISQL>SELECT * FROM emp;ISQL>SELECT * FROM dept;ISQL>SELECT * FROM oa_tables;