TN3270 Server Manual
Introduction to the Guardian TN3270 Server
TN3270 Server Manual—424097-001
1-7
Application Considerations
Application Considerations
This subsection describes considerations for the Guardian TN3270 Server application
interface.
Safeguard Considerations
If you add a Guardian TN3270 Server window as a Safeguard-protected terminal and the
Guardian TN3270 Server is stopped and restarted, Safeguard suspends the Safeguard-
protected terminal. After restarting the Guardian TN3270 Server, you must use Safecom
to thaw and restart the Safeguard terminal.
Pathway Considerations
The following application interface considerations apply to the block mode for Pathway:
•
The Guardian TN3270 Server expects applications to use Control-11 (wait for
session establishment) and Control-12 (disconnect) procedures for session
management. TACL does this implicitly, but Pathway applications must do this
explicitly.
A sample SCREEN COBOL requester consisting of a RECONNECT MODEM verb
and a CALL ON ERROR statement is included in the RCONNECT file in the
installation subvolume (ISV). You should install this requester (or a similar one) as
the highest-level requester in your Pathway system; this allows terminal threads to
be reused automatically.
PROCEDURE DIVISION.
A010-main.
PERFORM b100-main-loop THRU b199-exit
UNTIL ws-exit-sw = "Y".
a019-exit.
EXIT PROGRAM.
b100-main-loop.
CALL "main-menu"
ON ERROR GO TO b110-continue.
b110-continue.
RECONNECT MODEM.
b199-exit.
EXIT.
Note. The RECONNECT MODEM verb must follow the call to the main module. If the order is
reversed, the first attempt to use a thread is disconnected, because Pathway does an implicit
Control-11 procedure when the terminal is started. If the RECONNECT MODEM verb is
executed first, a Control-12 procedure (disconnect) is performed when the first session is
established.