Browse Prior Art Database

Handling Exceptions in Pc-Host Processing

IP.com Disclosure Number: IPCOM000034615D
Original Publication Date: 1989-Mar-01
Included in the Prior Art Database: 2005-Jan-27
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Decker, SR: AUTHOR

Abstract

This article describes a method for anticipating events and conditions that may occur during a PC-Host session when the PC application is simulating a user's interactions. Host applications and systems are frequently designed with the expectation that a user will be able to respond to unusual situations, such as when another screen is ready to be displayed. However, when a program simulates the user, the situation is more complex. The Professional Work Manager (PWM) provides a facility that allows its users to create procedures called Activities. These Activities have the ability to interact with a Host system or application on behalf of the user. An Exception is an unexpected event that inhibits the Activity's execution. PWM makes it possible to anticipate unusual situations and predefine how to handle them.

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

Page 1 of 1

Handling Exceptions in Pc-Host Processing

This article describes a method for anticipating events and conditions that may occur during a PC-Host session when the PC application is simulating a user's interactions. Host applications and systems are frequently designed with the expectation that a user will be able to respond to unusual situations, such as when another screen is ready to be displayed. However, when a program simulates the user, the situation is more complex. The Professional Work Manager (PWM) provides a facility that allows its users to create procedures called Activities. These Activities have the ability to interact with a Host system or application on behalf of the user. An Exception is an unexpected event that inhibits the Activity's execution. PWM makes it possible to anticipate unusual situations and predefine how to handle them. The existence of an Exception can be determined by the failure of a search of the Host presentation space (the representation in a buffer area of the Host screen) for a specific string of characters. The presence of that string of characters provides assurance that the Activity is proceeding according to plan. PWM provides a mechanism in the form of a command called Retry, which repeats the search of the Host presentation space a specified number of times. (If the last search was successful, then the Retry command is bypassed.) The purpose of Retry is to give a busy Host time to respond and not miss finding the specif...