5 Database Administration

Voice System Database Administration

7Change the mode of shell file with the original name to rwxr_xr_x.

8Add the original executable file name along with all the other executable files to /etc/inittab file as before using the same tools as before.

The following example is used to illustrate these steps. The executable file that communicates with the database is called get_pin_uac. The name of the instance of the ORACLE database is “A”.

1Compile the get_pin_uac executable file along with all the other executable files as before.

2Enter mv get_pin_uac getPinUac in the /home/gar/irapi directory.3In the /home/gar/irapi directory, enter vi get_pin_uac

4Enter the following first line to the file:

ORACLE_SID=A;export ORACLE_SID

5Add the following second and third line to the file:

ORACLE_HOME=‘/usr/lbin/dbhome $ORACLE_SID‘;export

ORACLE_HOME

exec /home/gar/irapi/getPinUac

6Save the file and exit the editor.

7Enter chmod 755 get_pin_uac

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 242