1.oracle to install Sybase client on the server (or install Oracle, Sybase server on one server) to ensure access to the Sybase database;
2. Install the transparent GATEWAY for Sybase option to use a custom installation. Select the Sybase installation directory correctly;
3. Select a SID string to be assigned to the Sybase database. For example: Tg4sybs set Sybase DLL path to environment variable path (this step is important);
4. Modify initialization files by default:
Oracle_home\tg4sybs\admin\inittg4sybs.ora
Setting parameters
HS_FDS_CONNECT_INFO
Format:
HS_FDS_CONNECT_INFO= server_name. database_name[,INTERFACE= interface_file]
server_name. database_name is case sensitive.
Interface Optional
Examples: as follows
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
# This is a sample agent init file that contains the HS parameters that are
# needed for the Transparent Gateway for Sybase
#
# HS init parameters
#
HS_FDS_CONNECT_INFO=migration_serv.tax
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
#
# Environment variables required for Sybase
#
set SYBASE=d:\sybase
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
In the example above
server_name is Migration_serv.
database_name is tax.
5. Configure the Listener for Oracle network services, the configuration file is: Listener.ora
Default path: Oracle_home\network\admin
Add the following:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME= gateway_sid)
(ORACLE_HOME= oracle_home_directory)
(PROGRAM=tg4sybs)
)
)