User Exits
Adabas Event Replicator for LUW has a user exit which allows a you to run a job if an error with an Action type of Nx (see Error Messages) occurs.
To run a user-specified job when Nx errors occur, set NOTIFY to 1 and NOTIFY_CMD to the name of the user-specified job.
NOTIFY_CMD should contain the fully qualified path and file name of the job that you want to execute. The job can be a program, a shell script, a batch file, or a command file. It can contain multiple tasks.
If an Nx error occurs, Adabas Event Replicator for LUW calls the NOTIFY_CMD command and passes a single parameter string containing the job name. The system will execute the job specified by NOTIFY_CMD parameter string. If no job is specified, the NOTIFY_CMD default job is "eventnotify."
In the samples directory, there is a VB .NET 2003 job. It creates a sendmail program that sends email notifications to a list of people specified in the sample eventnotify.cmd file.
For more information, see the Registry Values.