Starting ASE servers

You can start ASE and associated servers manually or automatically after each reboot. The following sections describe the procedures.

StepsStarting ASE and associated servers manually

  1. Disable automatic start-up of ASE and associated servers. To do this, click Services in the control panel (refer to Microsoft Windows documentation on how to access this), and change the Startup property for the servers from Automatic to Disabled.

  2. Save the current value of environment variables in a text file: SYBASE, SYBASE_OCS, INCLUDE, and PATH.

  3. Complete the SDK or Open Server installation as documented in the following installation sections.

  4. Click System in the control panel. Open the Advanced tab and click Environment Variables. Edit the value for the environment variables SYBASE, SYBASE_OCS, INCLUDE, and PATH with the values saved in the text file (as done in Step 2).

  5. Start the servers manually:

    • Open a command prompt and change the directory to the pre-15.0 ASE SYBASE directory.

    • Execute the SYBASE.BAT file.

    • Start each server by using the following command

      startserver -f RUNfile
      

      where RUNfile is the batch file associated with each server.

StepsStarting ASE and associated server(s) automatically as services

  1. Disable automatic start-up of ASE and associated servers. To do this, click Services in the control panel (refer to Microsoft Windows documentation on how to access this), and change the Startup property for the servers from Automatic to Disabled.

  2. Save the current value of environment variables in a text file: SYBASE, SYBASE_OCS, INCLUDE, and PATH.

  3. Complete the SDK or Open Server installation as documented in the following installation sections.

  4. Click System in the control panel. Open the Advanced tab and click Environment Variables. Edit the value for the environment variables SYBASE, SYBASE_OCS, INCLUDE, and PATH with the values saved in the text file (as done in Step 2).

  5. Start the servers automatically as services. To do this, click Services in the control panel and change the Startup property for the servers from Disabled to Automatic.