HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_EMULATOR_USER
Chapter 3 237
3270 sessions that are available for the user to remap
to must be given names that are not inthe range above.
The user will be able to access these sessions only if the
change_lu
parameter (see above) allows the user to
remap sessions.
session_def_data.emulator_type
Type of the emulation program that uses this session.
Possible values are:
AP_3270_SESSION
Session used for 3270 emulation
AP_5250_SESSION
Session used for 5250 emulation
session_def_data.description
An optional text string (0-31 characters followed by a
null character). The string is for information only; it is
stored in the configuration file and returned on the
QUERY_EMULATOR_USER_DEF verb, but
SNAplus2 does not make use of it.
For a 3270 session, the following fields are included:
session_def_data.session_variant.def_data_3270.lu_name
Name of the LU or LU pool that this session uses. This
is an 8-byte EBCDIC string, padded on the right with
EBCDIC spaces. It must match the name of a type 0-3
LU or LU pool that has already been defined.
If you assign the session to an LU that is in an LU pool,
SNAplus2 will try to use this LU when the session is
activated. If the LU is not available, SNAplus2 will
then attempt to find a free LU from the pool (as though
the session had been assigned to the pool).
session_def_data.session_variant.def_data_3270.session_type
Type of the LU or pool (display or printer, and the
screen model for display LUs). Possible values are:
AP_3270_DISPLAY_MODEL_2
Display model 2 (80 x 24)