Telserv Manual

Subsystem Control Facility (SCF) for Telserv
Telserv Manual427174-009
4-12
WINDOW Object
client who selects a valid service. Thus, a given client might not get the same window
for each session it establishes.
To configure a static window, use a non-null string for the SERVICENAME attribute of
the WINDOW object. For example:
SCF> ADD WINDOW #win, SERVICENAME “myserv”
Multiple static windows can have the same service name.
Clients can access static windows only by specifying the service name (for example,
myserv). When a user enters a static window name at the Enter Choice> prompt,
Telserv displays the following error message:
Sorry, window cannot be selected
Sorry, invalid choice
Telserv then displays the selection menu again.
Dynamic Window
Dynamic windows are automatically created and assigned for a session when a
service is chosen. Telserv randomly generates the window name, and thus, no
WINDOW object need be configured. The SERVICE object, however, must have the
subtype specified as DYNAMIC.
Whenever TCP/IP reports a fatal error, dynamic windows return an file-system error 66
message to the application. Telserv then deletes all resources associated with the
session. Thus, applications using dynamic windows should not try to re-open the
window when they receive an error 66 message. Applications should terminate upon
receiving such a message.
Additional Windows
When Telserv reaches the limit of permissible dynamic windows it can create, it can
still provide as many as five additional windows. These windows allow users to select
static services.
If a user attempts to select dynamic services on one of these windows, Telserv
displays an error message and closes the terminal. If a user selects a service whose
subtype is STATIC, Telserv processes the request.
A three-minute banner idle time is set for each of the five windows. If a user does not
select a static service within three minutes, Telserv closes the window after displaying
a warning message.
Note that Telserv does not provide the five additional windows if the command PARAM
ZTNT^CONN^ON^MAXTTY NO was issued. In such cases, Telserv closes the window
exceeding the MAXTTY limit after it displays the error message “No more sessions are
available.” Telserv no longer listens on its port and listens again only when the number
of active sessions falls below the MAXTTY limit.