Information Systems:EMS - Error Management System

From uniWIKI
Jump to navigation Jump to search

These are custom messages used by the extensions.

- File EMSMSGP (EMS - Message Control Header) is the error code, description, text, and list of parameters.

- File EMSACTP (EMS - Message Actions) tells whether the response to an error is to send an email, or add a record to the alert file (EMSALRP).

- File EMSADDP (EMS - Email Addresses) contains the addresses if the action in EMSACTP is to send an email.

- File EMSALRP (EMS - User Alert History) is written if the action in EMSACTP is to write to the alert file.

- Program EMRUP010 (EMS - Handle an Error API) is called by any program needing to send an alert. Based on the error code and parameters received, it will perform the actions defined in the EMS files.