5
Database Administration
Voice System Database Administration
UCS 1000 R4.2 Administration 585-313-507
Issue 3 April 2000 244
4
Recompile this source code file along with all the source files that make
up the custom software.
The following example is used to illustrate these steps. The name of the
instance of the ORACLE database is “A”. The name of the
ORACLE_HOME directory is /oracle.
/* start of header files */
...
#include <stdlib.h>
...
/* end of header files */
...
...
main (argc,argv)
int argc;
char *argv[];
{
/* start of local variables */
...
/* end of local variables */
/* start of executable code */
/* start of putenv changes */
putenv ( "ORACLE_SID=A" );
putenv ( "ORACLE_HOME=/oracle" );
/* end of putenv changes */
...
...
}