Browse Prior Art Database

HLLAPI Conditional Logic to Access Host

IP.com Disclosure Number: IPCOM000099990D
Original Publication Date: 1990-Mar-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 2 page(s) / 68K

Publishing Venue

IBM

Related People

Bailey, DS: AUTHOR [+2]

Abstract

This article addresses a conditional logic sequence using the High Level Language Application Programming Interface (HLLAPI) on the PC to communicate to the host system. This solution allows the PC user to send the correct sequence of commands to the host system depending on the response the host has given them.

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

HLLAPI Conditional Logic to Access Host

       This article addresses a conditional logic sequence using
the High Level Language Application Programming Interface (HLLAPI) on
the PC to communicate to the host system.  This solution allows the
PC user to send the correct sequence of commands to the host system
depending on the response the host has given them.

      The conditional logic, known as a search loop, allows the PC
routine to search part or all of the host screen for a particular
piece of text for a specified amount of time. It could be that there
is more than one possible piece of text that may appear.  A good
example is when the user logs on to the host system.  The usual
scenario may be a prompt for the password, and then the user is taken
right into his or her  application.  Yet, once a week system messages
to the user are displayed before entering the application.  It is
necessary for the PC HLLAPI routine to know what action to take
depending upon the text on the host screen.

      The loop starts off with the SEARCH command followed by the
host screen position to search. If no position is specified it
assumes the entire host screen is searched. The next line consists of
a MATCH command that is followed by a string of text that may appear
on the host screen in the specified position.  The text must be
entered exactly as it appears on the host screen. If this text is
found, then the commands associated with that MATCH are executed and
the user is taken out of the search loop. There can be several MATCH
command sequences specified.  At the bottom of the search loop the
user can specify the NOMATCH command which is equivalent t...