Browse Prior Art Database

Operator Message Display while Minimizing Application Memory Requirements

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

Publishing Venue

IBM

Related People

Banks, JM: AUTHOR [+2]

Abstract

Disclosed is computer program method and module for storing the content of operator display messages both so that application memory requirements are minimized and so that the content can be modified without requiring recompilation of the application.

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

Operator Message Display while Minimizing Application Memory Requirements

       Disclosed is computer program method and module for storing
the content of operator display messages both so that application
memory requirements are minimized and so that the content can be
modified without requiring recompilation of the application.

     The Message Display Module maintains a list of messages and
message attributes associated with each message.  The message
attribute and text list is created in memory by reading a disk file.
This disk file is a text file created using a file editor.  A sample
Message File has the following format:   1, This is the first message
1, This is the second message 0, Third message.

     The leading number in each line is the message attribute.  The
following text, separated by the comma, is the message text.  The
message attribute determines how the message is displayed.  For
example, an attribute of 0 will disable the message, 1 will display
the message in normal colors, 3 will display with normal colors and
sound the speaker etc.  More messages attributes are implemented as
required, for example to control display colors etc.

     The Message Display Module is linked to an application program
to provide the following functions:
                 1.  Initializing a message list
                 2.  Displaying a message
                 3.  Dropping a message list.

     When a message list is initialized, the Message Display Module
reads the disk file and creates a memory list of messages and at--
tributes.  The memory is allocated from the program variable storage
and thus, does not consume memory allocated for initialized global
and static program data.  The amount of memory allocated for this
list depends on the number of messages in the disk file.  When a
message list is initialized previous lists are dropped and the memory
allocated for the previous list is released before the current list
is initialized.

     To display a message the application invokes the display message
function and passes a message number.  The message number is the line
number of the message in t...