Changing start-up parameters

To change start-up parameters or to change the server name in the Registry:

  1. Start the Registry Editor (regedt32.exe, usually in winnt\system32).

  2. For Windows, select the window named:

    \\HKEY_LOCAL_MACHINE
    

    or, for Windows 3.5.1:

    \\HKEY_USER
    

    and select the correct user entry.

  3. Save or print the existing settings before proceeding. From the registry menu, select the Save Subtree As command or the Print command.

  4. In the tree view, highlight:

    \SOFTWARE\SYBASE\Server\
    srvrName\Parameters
    

    where srvrName is the name of the server whose start-up parameters you want to change. On the right side of the window, review the list of existing start-up parameters which appear in this format:

    Argx, dataType, parameter 
    

    where:

    • x is an integer in sequential order.

    • dataType defines the type of data in the parameter value.

    • parameter is a start-up option, preceded by a dash and followed by the parameter value.

    An example containing the Historical Server -D, -U, and -P start-up parameters follows:

    Arg0:REG_SZ:-Dc:\sybase\data\hs_data
    Arg1:REG_SZ:-Uhssuper
    Arg2:REG_SZ:-Pxwdfr
    
  5. To add a new start-up parameter:

    • Select Edit | Add Value.

    • In the resulting dialog box, in the Value Name box, enter Argx where x is the next integer not currently assigned.

    • From the Data Type drop-down list, choose REG_SZ.

    • In the resulting String dialog box, enter the parameter and value.

  6. To modify existing parameters:

    • Double-click the parameter line you want to change.

    • In the resulting String dialog box, change the entry.

  7. From the Registry menu, choose Exit.