[CR #616941] If the sort order is not set correctly in the [collate] section of %SYBASE%\ini\objectid.dat, a stack trace error occurs at Replication Server startup.
Workaround:
Make sure that the character set and set order have been set correctly in Rep_Server_name.cfg file. For example:
RS_charset=cp850
RS_sortorder=scannocp
Go to %SYBASE%\charsets\<character set> directory; for example, %SYBASE%\charsets|cp850 directory.
Locate and open corresponding sort order file; for example, scannocp.srt.
Check the line that has an “id” and find the sort order ID, for example,
id = 0x30; Unique ID # (48) for the sort order
Note that the sort order ID is 48.
In %SYBASE%\ini\objectid.dat, check that there is a line for that sort order under the [collate] section:
1.3.6.1.4.1.897.4.9.3.48 = scannocp
The last number is the sort order ID (48), all other numbers are identical for all lines. If you have a custom sort order, add this line for it.
Restart Replication Server.