Kbase 19645: How to Test Oracle's Dynamic Library with the Oracle Applica
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/01/2003 |
|
Status: Unverified
GOAL:
How to access ORACLE's dynamic library (libclntsh)
GOAL:
How can I run an ORACLE application that will access the Oracle dynamic library (libclntsh).
FACT(s) (Environment):
Oracle
FIX:
This test should be used when having problems with the use of the ORACLE dynamic library and Progress.
The test program that will use the Oracle dynamic library (libclntsh) to connect to Oracle. There is a package of demonstration programs under $ORACLE_HOME/rdbms/demo. The programs use the demonstration tables created by $ORACLE_HOME/sqlplus/demo/demobld.sql and are in the SCOTT schema with the password TIGER. You may need to create either the user SCOTT/TIGER and the demonstration tables on ORACLE database.
Use the makefile, $ORACLE_HOME/rdbms/demo/demo_rdbms.mk, to create the demonstration programs.
For example, to compile and link the cdemo1
demonstration program, enter the following command:
cd $ORACLE_HOME/rdbms/demo
make -f demo_rdbms.mk cdemo1
Then run the executable cdemo1 generated.
By default, all the demo programs are dynamically linked with the client shared library $ORACLE_HOME/lib/libclntsh.xx.