Defining a Registry Key

Use the sybevent.dll file and the regedt32 utility.

Prerequisites

Create a Registry key in the regedt32 utility.

Task
  1. Start the Windows regedt32 utility.
  2. In the regedt32 utility, open the Registry key that you just created.
  3. Select Edit > Add Value.
  4. Type an event-logging value name for the new Registry key. Enter the value name exactly as it is shown in the table; value names are case-sensitive.
    Registry Values for a Central Logging PC

    Value Name

    Datatype

    String

    Notes

    CategoryCount

    REG_DWORD

    0x6

    Do not change the data value. Make sure the string value is hexadecimal (Hex).

    CategoryMessageFile

    REG_SZ

    %SYBASE%\%SYBASE_ASE%\dll directory

    Replace %SYBASE%\%SYBASE_ASE%\dll directory with the path to the sybevent.dll file.

    EventMessageFile

    REG_SZ

    %SYBASE%\%SYBASE_ASE%\dll directory

    Replace %SYBASE%\%SYBASE_ASE%\dll directory with the path to the sybevent.dll file.

    TypesSupported

    REG_DWORD

    0xff

    Do not change the data value. Make sure the string value is hexadecimal (Hex).

    Note: Be sure to enter the correct path to the sybevent.dll file for the CategoryMessageFile and EventMessageFile values.
  5. Select the datatype for each value.
  6. Verify that you have entered the new key value and datatype correctly, and click OK.
  7. Enter the appropriate string, and click OK.
  8. Repeat steps 5-9 for the remaining three values in each Registry key.
  9. Select Registry > Exit.