HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_EMULATOR_USER
The user can change the screen model.
AP_NO
The user cannot change the screen model.
For a 5250 session, the following elds are included:
session_def_data.session_variant.def_data_5250.local_lu_alias
LU alias of the local LU that this session uses. This is an 8-byte ASCII string (starting with a letter), padded
on the right with spaces. It must match the alias of an APPC local LU that has already been de
ned.
session_def_data.session_variant.def_data_5250.plu_alias
LU alias of the partner LU that this session uses. This is an 8-byte ASCII string (starting with a letter), padded
on the right with spaces. It must match the alias of an APPC partner LU that has already been de
ned. For
more information, see Section 3.25.6,
Dening Partner LUs.
To indicate that the partner LU is identied by its fully qualied name instead of its LU alias, set this
parameter to 8 binary zeros, and specify the fully qualied name in the fqplu_name parameter.
session_def_data.session_variant.def_data_5250.fqplu_name
Fully qualied name of the partner LU that this session uses. This parameter is used only if plu_alias is set
to zeros; it is ignored otherwise. For more information, see Section 3.25.6, Dening Partner LUs.
The name is a 17-byte EBCDIC string, right-padded with EBCDIC spaces. It consists of a network ID of
up to 8 A-string characters, an EBCDIC dot (period) character, and a network name of up to 8 A-string
characters.
session_def_data.session_variant.def_data_5250.mode_name
Name of the mode that this session uses. This is an 8-byte type-A EBCDIC string (starting with a letter),
padded on the right with EBCDIC spaces. The mode name must match the name of an APPC mode that has
already been dened; it is generally set to the SNA-dened mode name QPCSUPP.
session_def_data.session_variant.def_data_5250.session_type
Type of the 5250 session (display or printer). Possible values are:
AP_5250_DISPLAY
Display session
AP_5250_PRINTER
Printer session
3.25.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameter:
primary_rc
AP_OK
3.25.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
155