Sample files that come with Server-Library are in %SYBASE%\%SYBASE_OCS%\sample\srvlib, which contains:
Source code for the sample programs.
README – a text file that has platform-specific and general notes about building, executing, and troubleshooting the sample programs.
makefile – provided so that you can use it to build the sample programs. Use makefile as a starting point for your own Open Server applications.
A SRV_CONNECT event handler.
Error handlers.
Create a backup copy of the contents of the directory
where the sample programs reside. Then, you can experiment with
the sample programs without affecting the integrity of the original
files.