This script will purge the Sybase ASE Error log.

This script will work even if the file is in use. (which is normally the case)

The Script copyies the file with a date time stamp and then purges the file.

Change the directory to reference your sybase install directory and server.log file