Browse Prior Art Database

Error Handler Activation Procedure

IP.com Disclosure Number: IPCOM000113353D
Original Publication Date: 1994-Aug-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 82K

Publishing Venue

IBM

Related People

Anderson, B: AUTHOR [+3]

Abstract

Disclosed is a process by which diagnostic outputs generated by an application error processing routine can be controlled in order to minimize the creation of unwanted data. The Error Handler Activation Procedure (EHAP) was developed to perform this function.

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

Error Handler Activation Procedure

      Disclosed is a process by which diagnostic outputs generated by
an application error processing routine can be controlled in order to
minimize the creation of unwanted data.  The Error Handler Activation
Procedure (EHAP) was developed to perform this function.

      In OS/2*, facilities are available to application programs to
record instances of errors and collect diagnostic data for problem
debug.  These facilites include error log, message log, storage dump,
and network notification.  When an application is developed, large
amounts of diagnostic data are often specified for collection in
order to diagnose a worse-case error scenario.  Many customers choose
to disable some or all of the diagnostic outputs in order to minimize
the machine resources required to capture and process the data.
Furthermore, customers require the selectivity to disable some of the
outputs for specific error conditions but not for all.  In addition
to the selectivity of diagnostic outputs by error, all diagnostic
data collection should be suspended if an application is caught in a
loop and is recursively calling the data collection facilities.

      The Error Handler Activation Procedure (EHAP) is a table driven
procedure that controls the operation of a diagnostic data collection
process.  The main component, the EHAP daemon, is a background
process that is started by the diagnostic data collection process and
creates and manages a shared storage table, called the Action Control
Table (ACT), which contains collection action information.  This
daemon processes two types of requests.  The first type is user
requestes to update the ACT with information about which diagnostic
outputs should be generated for which errors.  Each call to the
diagnostic data collection process has a unique ID, known as the
Error ID, which is specified by the user along with the outputs that
are to be generated for that error.  The daemon processes this type
of request by updating the ACT with the information provided in the
request.

      The second type of request processed by the daemon is a request
from the diagnostic data collection prcoess for control information.
For this type of request, the daemon takes the error ID value from
the caller and uses it to locate an entry in the ACT.  Information
from the entry is returned to the caller.

      Informa...