Logging in to the Replication Agent using isql

This section describes how to use the isql interactive SQL utility to log in to the Replication Agent administration port.

Before you can log in to the Replication Agent administration port with an Open Client application (such as isql), first create a server entry for the Replication Agent instance in the interfaces file. See “Creating an entry in the interfaces file” for more information.

NoteThe first time you log in to a newly created Replication Agent instance, use the default administrator login “sa” with no password.

StepsLogging in to a Replication Agent instance

  1. Open an operating system command window.

  2. Set your environment variables by sourcing the SYBASE.csh file (UNIX or Linux) or by executing the SYBASE.bat file (Windows).

  3. At the operating system prompt, enter the following command:

    isql -Uusername -Ppassword -Sinst_name
    

    where:

    • username is the Replication Agent administrator login.

    • password is the corresponding password.

    • inst_name is the name of the Replication Agent instance.

    For example, to log in to a new Replication Agent instance named “my_ra,” enter:

    isql -Usa -P -Smy_ra
    

Once you have successfully logged in to the administration port, you can use Replication Agent commands to administer the Replication Agent instance.