To verify that you can connect to Oracle
Open a command window in the $SYBASE directory of your DirectConnect installation.
Change to the $SYBASE/DCO-12_6 directory.
Set the environment variables by sourcing the $SYBASE/SYBASE.csh file and the $SYBASE/DCO_SYBASE.csh file.
Use isql to log in to Oracle through DirectConnect:
isql –Uvaliduser –Ppassword –SDCOServer
where:
validuser and password – any valid user and password
DCOServer – the DCO Server name identified in the previous step.
To verify the connection to the standby Oracle database, enter the following:
select banner from v$version go
The string returned from DCO should look similar to the following:
BANNER ----------------------------------------------- Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production PL/SQL Release 9.2.0.1.0 - Production CORE 9.2.0.1.0 Production TNS for Solaris: Version 9.2.0.1.0 - Production NLSRTL Version 9.2.0.1.0 - Production
Exit isql.