Log User-Defined Events

You can arrange to have user-defined events logged to the Windows event log from within SAP ASE. For example, you can create a “database imported” event that is generated after a database has been imported successfully.

Using the xp_logevent extended stored procedure (ESP), you can arrange to log the event, including:

See xp_logevent in the Reference Manual: Procedures.