Browse Prior Art Database

Graceful Stop of 3270 Emulation Sessions

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

Publishing Venue

IBM

Related People

Meckstroth, JR: AUTHOR [+4]

Abstract

This technique enables host applications running under the control of a personal computer (PC) to execute to completion or terminate themselves, when the user selects to stop 3270 emulator sessions which the host applications are using. Should any of these applications be hung, the user can choose to stop the 3270 emulation sessions, regardless of any application's completion status. By providing two user interfaces to stop 3270 sessions, Normal and Abnormal, the communication subsystem can maintain some control over when the user can stop a communication service, yet still allow the capability of stopping a hung system.

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

Graceful Stop of 3270 Emulation Sessions

       This technique enables host applications running under
the control of a personal computer (PC) to execute to completion or
terminate themselves, when the user selects to stop 3270 emulator
sessions which the host  applications are using. Should any of these
applications be hung, the user can choose to stop the 3270 emulation
sessions,  regardless of any application's completion status.  By
providing two user interfaces to stop 3270 sessions, Normal and
Abnormal, the communication subsystem can maintain some control over
when the user can stop a communication service, yet still allow the
capability of stopping a hung system.

      When the Normal Stop option for 3270 emulation sessions is
selected, the subsystem updates a status variable to indicate this
and notifies the 3270 emulator via a semaphore mechanism.  After
determining that the stop type is Normal, the thread in the 3270
emulator, which waits on the notification semaphore, sets the
semaphore, and awaits the next user request.  This is done as the
user may select Abnormal Stop if a Normal Stop is not stopping the
sessions. File transfers in progress are allowed to continue to
completion.  Any host application using the  Server Requester
Programming Interface (SRPI) is notified with a special return code
on its next call that the session it is using has been requested by
the user to be stopped.  The 3270 emulator will not terminate these
sessions unti...