Browse Prior Art Database

Trace and Log Routines for OS/2

IP.com Disclosure Number: IPCOM000105317D
Original Publication Date: 1993-Jul-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 2 page(s) / 35K

Publishing Venue

IBM

Related People

Diedrigkeit, B: AUTHOR

Abstract

Disclosed is a routine for logging and tracing programs running on a workstation under OS/2*. The routine runs as a background program and stores the data from any program that uses log or trace functions to a log or trace data set.

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

Trace and Log Routines for OS/2

      Disclosed is a routine for logging and tracing programs running
on a workstation under OS/2*.  The routine runs as a background
program and stores the data from any program that uses log or trace
functions to a log or trace data set.

      The figure shows an outline of the invention.  A function
program 10 may include commands to begin tracing or logging the
program.  When one of these commands is issued, an exec routine 30
will be called which links the function program 10 with the
background program 50 in a dynamic link library 40.  The background
program 50 establishes a queue 60 into which are placed records of
all the activity carried out by the function program 10.  The
background program 50 reads the queue and places all the entries
relevant to logging the program into a log data set 70 and all the
entries relevant to tracing the program into a trace data set 80.
The log data set 70 and the trace data set 80 may be used later to
analyze the run of the function program 10.

      The invention has the advantage over current tracing and
logging routines in that it can run concurrently on the workstation
without disturbing the operation of the function program.

*  Trademark of IBM Corp.