Preparing to use the utilities

Before you can invoke a Mirror Replication Agent utility, you must:

The SYBASE environment script is supplied as a batch file for Microsoft Windows platforms (SYBASE.bat) and as a shell script for UNIX platforms (SYBASE.sh).

StepsSetting the SYBASE environment

  1. Log in to the operating system on the Mirror Replication Agent host machine with a user login that has the appropriate permissions.

  2. Open an operating system command window.

  3. At the operating system prompt, navigate to the Mirror Replication Agent installation directory:

    • On Microsoft Windows:

      cd c:\sybase
      

      where c:\sybase is the path to the Mirror Replication Agent installation directory.

    • On UNIX:

      cd /opt/sybase
      

      where /opt/sybase is the path to the Mirror Replication Agent installation directory.

  4. In the Mirror Replication Agent installation directory, invoke the SYBASE environment script:

    • On Microsoft Windows:

      SYBASE
      
    • On UNIX, for Bourne and Korn shells:

      . SYBASE.sh
      
    • On UNIX, for C-shell:

      source SYBASE.csh
      

NoteOn UNIX platforms, you can insert the source SYBASE.csh command in the .login file for the Mirror Replication Agent administrator (or “sybase” user), so that the SYBASE environment is set automatically when you log in to the Mirror Replication Agent host machine.