If running SQL commands against Sybase, and errors are either being displayed or being shown via the print output indicating that the transaction log is full or almost full, you will need to dump the transaction log.

The following commands can be used to depending on whether you want to save the output of the log or not.

Dump tran <db_name> to <file_name>

Dump tran <db_name> with truncate_only

Dump tran <db_name> with no_log