Create a UNIX Oracle Data Source For a 5.x OCI Namespace
To create a UNIX Oracle data source for a 5.x OCI namespace
Edit the $NETE_PS_ROOT/db/system_odbc.ini file by replacing the nete_serverid value for SID with the value that is appropriate for your Oracle instance. The SID is the system identifier for the database instance. If no system_odbc.ini file exists, copy and rename oraclewire.ini to system_odbc.ini.
The modified text for the user directory’s data source should appear as follows:
[OCI_User_Directory_Data_Source] Driver=nete_ps_root/odbc/lib/NSora24.so Description=DataDirect 6 SP3 Oracle Wire Protocol LogonID=uid Password=pwd HostName=nete_servername PortNumber=1521 SID=nete_serverid CatalogOptions=0 ProcedureRetResults=0 EnableDescribeParam=0 EnableStaticCursorsForLongData=0 ApplicationUsingThreads=1
Defines the Oracle service name of the OCI namespace user directory.
Defines an explicit path rather than one with an environment variable.
Defines the user name of the database account that has full access rights to the database.
Defines the password for the user.
Defines the name of the Oracle database host system.
Defines the SID or, in this example, instance1.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |