Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Template Programs in COBOL/2 Which Access the Open, Close, Read and Write Architecture

IP.com Disclosure Number: IPCOM000107129D
Original Publication Date: 1992-Jan-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 2 page(s) / 74K

Publishing Venue

IBM

Related People

Catino, RJ: AUTHOR [+5]

Abstract

This article describes template COBOL/2* programs which access the Open, Close, Read and Write architecture of a Graphical User Interface (GUI). This method of programming increases programmer productivity by providing easy access to the GUI code by using a bug-free, pre-tested COBOL/2 program template, which may then be enhanced and customized by the programmer. (Image Omitted)

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

Template Programs in COBOL/2 Which Access the Open, Close, Read and Write Architecture

       This article describes template COBOL/2* programs which
access the Open, Close, Read and Write architecture of a Graphical
User Interface (GUI).  This method of programming increases
programmer productivity by providing easy access to the GUI code by
using a bug-free, pre-tested COBOL/2 program template, which may then
be enhanced and customized by the programmer.

                            (Image Omitted)

      For each control selected in the GUI, one working storage level
01 is created in the template program.  For example, if a window
consists of one list box and three push buttons, there would be one
working storage level 01 for the list box and one working storage
level 01 for the push button.  Each working storage field name begins
with the control name.  In this case, "List-" and "Push-" are the
prefixes.

      The template program also contains a group of procedure
division code for each control.  One procedure division group of code
is created for each symbolic name chosen in the GUI.  Using the same
example of a window with one list box and three push buttons, there
would be a group of code for the window and groups of code based on
the symbolic names for each of the push buttons.  Each procedure
division group of code begins with:
      Process All Messages - routes the actions for each control to
the appropriate se...