To verify Sybase native connectivity through a server name
Note: This account should already be set up. See Create an Account, a Home Directory, and a Login Environment for more information about setting up a UNIX account to use when you install BusinessObjects Enterprise.
This variable contains the path to the root directory of your Sybase client installation (one level above the SYBASE_OCS version directory).
This variable contains the name of the Sybase version directory (one level above the Sybase bin and lib directories).
The library search path (LD_LIBRARY_PATH on Solaris and Linux, LIBPATH on AIX) must include the lib directory of your Sybase client installation.
The search path must include the bin directory of your Sybase client installation.
This example checks the required variables, and shows sample output values:
$ echo $SYBASE /opt/sybase/12.0 $ echo $SYBASE_OCS OCS-12_O $ echo $LD_LIBRARY_PATH /export/home/sybase/12.0/OCS-12_0/lib $ echo $PATH /usr/bin:/usr/ucb:/etc:.:/export/home/sybase/12.0/OCS- 12_0/bin
isql -U user -P password -S servername
Replace user, password, and servername with the appropriate values. If the shell environment has been configured correctly, you are connected to Sybase.
use aps go create table sampletable (def_field char(10)) go sp_help sampletable go
drop table sampletable go sp_help sampletable go
|
Copyright © 2010 CA.
All rights reserved.
|
|