Browse Prior Art Database

COBOL/2 Message Interface to the Open, Close, Read and Write Archi tecture Functions

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

Publishing Venue

IBM

Related People

Catino, RJ: AUTHOR [+5]

Abstract

This article describes the COBOL/2* message interface to the Open, Close, Read and Write architecture functions. This message interface increases programmer productivity by providing easy access to the GUI code by providing bug-free, pre-tested COBOL/2 message code, which may then by hidden from the programmer who is responsible for customizing the generated template program.

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

COBOL/2 Message Interface to the Open, Close, Read and Write Archi tecture Functions

       This article describes the COBOL/2* message interface to
the Open, Close, Read and Write architecture functions.  This message
interface increases programmer productivity by providing easy access
to the GUI code by providing bug-free, pre-tested COBOL/2 message
code, which may then by hidden from the programmer who is responsible
for customizing the generated template program.

      For each type of function, a unique message interface in
COBOL/2 has been created.  The four types of functions for this
architecture are: Open, Close, Read and Write. Each of the message
interfaces will be explained individually.

      The Open message interface written in COBOL/2 opens the
communication pipe to the Graphical User Interface (GUI). If the
P3-Return- Code is not zero upon call completion, the return code is
displayed and a Close message is issued to the GUI.  The COBOL/2 Open
message is structured as follows:
      P3-Return-Code P3-Options P3-Name-Length P3-Name P3-Handle
      pic 9(4) pic 9(4) pic 9(4) pic x(16) pic 9(4)

      The Close message interface written in COBOL/2 closes the
communication pipe to the GUI.  The COBOL/2 Close message is
structured as follows:
      P3-Return-Code P3-Handle
      pic 9(4) pic 9(4)

      The Write message interface written in COBOL/2 sends messages
to the GUI from the application.  If the P3-Return-...