After you install Replication Agent, and before you start the Replication Agent or run any Replication Agent utilities, you must set up the SYBASE environment variable on the Replication Agent host machine.
This sets up the value of %SYBASE% (Microsoft Windows) or $SYBASE (UNIX) to point to the Replication Agent installation directory.
Setting up the SYBASE environment variable
Log in to the Replication Agent host machine using an operating system user account with authority to start, stop, and administer the Replication Agent instance (for example, the “sybase” user).
At the command prompt, execute the SYBASE batch or script file:
On Microsoft Windows:
c:\path\SYBASE
where path is the Sybase installation directory, for example:
c:\sybase\SYBASE
On UNIX:
source $SYBASE/SYBASE.csh
where $SYBASE is the path to the Replication Agent installation directory.