HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_TN3270_ACCESS
AP_NO
This verb denes a normal TN3270 user record.
A default record provides access to the TN server function for any TN3270 user that can determine the TCP/
IP address of the computer where the TN server is running. To restrict the use of TN server to a speci
c
group of users, either do not include the default record, or leave it with no 3270 LU or LU pool con
gured
so that it cannot be used.
You can also set up a default record for most users, but explicitly exclude one or more TCP/IP addresses. To
do this, dene the addresses to be excluded as TN server users, and leave them with no 3270 LU or LU pool
congured.
client_address
The TCP/IP address of the computer on which the TN3270 program runs. This is a string of 164 characters;
the remaining bytes in the string should be set to nulls.
The address can be specied as a dotted-decimal IP address (such as
193.1.11.100), as a name (such as
newbox.this.co.uk), or as an alias (such as newbox); the format is indicated by the address_format
parameter.
If you use a name or alias, the following restrictions apply:
The HP-UX system must be able to resolve the name or alias to a fully qualied name (either using the
local TCP/IP conguration or using a Domain Name server).
Each name or alias must expand to a unique fully qualied name; you should not congure two names
for users of the same TN server node that will be resolved to the same fully qualied name.
Fully-qualied names are not case-sensitive; for example, Newbox.THIS.CO.UK is equivalent to
newbox.this.co.uk.
def_data.description
An optional text string (031 characters followed by a null character). The string is for informa-
tion only; it is stored in the conguration le and returned on a
query_tn3270_access_def structure for a
QUERY_TN3270_ACCESS_DEF verb, but SNAplus2 does not make use of it. You can use it to store addi-
tional information to help distinguish between users.
def_data.address_format
Species the format of the client_address parameter. Possible values are:
AP_ADDRESS_IP
IP address
AP_ADDRESS_FQN
Alias or fully qualied name
def_data.num_sessions
The number of sessions being dened or modied by this verb. Each TN3270 user may access the same TN
server node with multiple sessions, by using a different TCP/IP port for each session. Each session must be
specied by a
tn3270_session_def_data structure following the
tn3270_access_def_data structure.
For each session, a
tn3270_session_data structure is required with the following information:
description
An optional text string (031 characters followed by a null character). The string is for information
only; it is stored in the conguration le and returned on a
query_tn3270_access_def structure for a
QUERY_TN3270_ACCESS_DEF verb, but SNAplus2 does not make use of it.
tn3270_support
256