Browse Prior Art Database

Flexible Method for Error Recovery

IP.com Disclosure Number: IPCOM000106309D
Original Publication Date: 1993-Oct-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 91K

Publishing Venue

IBM

Related People

Banks, JM: AUTHOR [+3]

Abstract

Disclosed is a computer program method and module which allows changing of the corrective action for an error condition without requiring the application source code to be changed and recompiling and further without requiring the application to be stopped so that the new executable can be reinstalled and restarted.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Flexible Method for Error Recovery

      Disclosed is a computer program method and module which allows
changing of the corrective action for an error condition without
requiring the application source code to be changed and recompiling
and further without requiring the application to be stopped so that
the new executable can be reinstalled and restarted.

      Due to the complexity of a software system, a variety of errors
can occur requiring different responses both immediately upon
occurrence and later after operator notification has been verified.
The correct response to the errors changes periodically as more
information is learned about the probable causes and new procedures
are developed.  During various stages of system development, testing
and running sometimes it is desirable to be able to change the
corrective actions temporarily or permanently without stopping the
system, recompiling and relinking the application code.  This
requires some method to tell the software to execute a different
recovery action for a specific error condition.

      When an application program detects an error condition the
error action module is invoked.  The error action module is passed an
error identifier.  This identifier is a number or a character string
which uniquely identifies the error.

      The error action module, uses this identifier and searches a
configuration file for an entry with the matching error identifier.
The matching entry in the configuration file contains two action
identifiers.  The first one is the pre-action and the second is the
post-action identifier.  The pre-action identifier represents the
error recovery code which will be invoked when the error occurs.  The
error action module immediately executes the error recovery code
associated with this preaction.

      The post-action identifier represents the error recovery code
which will be invoked when the application program, through its
internal logic or by the system operators acknowledgement, reports
that the error has been cleared.  In cases where the error action
module can not find a configuration file entry, it executes a
predetermined default pre-action and postaction error recovery
routine.

      The configuration fi...