Browse Prior Art Database

Error Information Logged When Unexpected Return Code From an Os/2 Software Function Call

IP.com Disclosure Number: IPCOM000036570D
Original Publication Date: 1989-Oct-01
Included in the Prior Art Database: 2005-Jan-29
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Hrabik, RJ: AUTHOR

Abstract

Disclosed is a methodology of capturing information relating to a failure condition at the instance of failure detection.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 94% of the total text.

Page 1 of 1

Error Information Logged When Unexpected Return Code From an Os/2 Software Function Call

Disclosed is a methodology of capturing information relating to a failure condition at the instance of failure detection.

In a multitasking environment, a failure condition may occur, but its aftermath may not be obvious until later on when another task is executing. This makes locating the source of the failure very difficult. An example of this may be an unexpected return code from an Operating System function call returned to an application many layers beneath the user interface.

The methodology consists of a discipline whereas a plurality of functions within a subsystem, log information relating to an unexpected return code from an Operating System function call to a local error log. The information logged should include the function call which was being invoked (this may be the actual name of the function call or a decimal value relating to a specific function call), the return code from the function call, an identification of the task that was making the call (this may be the actual name of the task), a Module ID and Offset. The Module ID and Offset are used to pinpoint the exact subroutine within the task and the exact offset into the subroutine where the Operating System function was called. This data should also be timestamped.

When a failure condition is detected at the user interface layer of a subsystem, the error log can be examined to determine which layer of th...