Using the RUN script

When you run the aserep script and specify a new instance name, it sets up and initializes the ASE Replicator process, and creates a RUN script that you can use as a shortcut to start ASE Replicator. The RUN script invokes aserep with all the required parameters (except -u and -p) to start ASE Replicator.

NoteAfter you set up and initialize ASE Replicator with the aserep script, Sybase recommends that you use the RUN script thereafter to start ASE Replicator.

You must specify the ASE Replicator system user name and password when you invoke the RUN script. You can specify the following optional aserep parameters when you invoke the RUN script:

The RUN script is named RUN_my_ASERep, where my_ASERep is the instance name of the ASE Replicator process you specified when you ran aserep to create the instance.

The RUN script is located in the $SYBASE/RPL-12_5/my_ASERep instance directory.

StepsTo start ASE Replicator with the RUN script

  1. Log in to the operating system of the Adaptive Server host machine.

  2. Set the current directory to the ASE Replicator instance directory:

    cd $SYBASE/RPL-12_5/my_ASERep
    

    where my_ASERep is the instance name of the ASE Replicator.

  3. Execute the RUN script on the operating system command line:

    RUN_my_ASERep -urep_user -ppwd
    

    where my_ASERep is the instance name of the ASE Replicator process, rep_user is the ASE Replicator system user login, and pwd is the password for the ASE Replicator system user login.