Browse Prior Art Database

Query Manager/REXX "session" Command

IP.com Disclosure Number: IPCOM000100685D
Original Publication Date: 1990-May-01
Included in the Prior Art Database: 2005-Mar-16
Document File: 1 page(s) / 44K

Publishing Venue

IBM

Related People

Dunn, JC: AUTHOR [+4]

Abstract

Disclosed is a design which allows an OS/2* REXX command file to control multiple Query Manager Callable Interface sessions. The various Callable Interface sessions can be connected to different databases or they can all be connected to the same database.

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

Query Manager/REXX "session" Command

       Disclosed is a design which allows an OS/2* REXX command
file to control multiple Query Manager Callable Interface sessions.
The various Callable Interface sessions can be connected to different
databases or they can all be connected to the same database.

      Query Manager Callable Interface is a programming interface
which an appropriately designed application can use to control
functions provided by the OS/2 Query Manager. In languages other than
REXX, multiple sessions are supported by using different allocated
control blocks to interface to each session.  REXX does not support
the concept of allocating multiple pieces of storage each of which is
mapped by the same mapping.  Instead, variables are stored by name
within the REXX variable pool with each name being unique.

      The solution being disclosed is the use of a new Query Manager
command which provides an identification of the Query Manager session
to be used to process subsequent calls to the Callable Interface; the
command is called "SESSION". The procedure writer assigns a number
between 0 and 98 (the default is 0 if no "SESSION" command is issued)
to identify each session to be used from a procedure.  Before issuing
calls to a particular session, the "SESSION" command is issued
passing as a parameter the number chosen to identify the particular
session desired.

      When "SESSION" is issued before issuing a Query Manager "START"
command, th...