HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_EMULATOR_USER
Species whether the user has permission to change the mapping of 3270 sessions to LUs, either by remapping
them from within the 3270 user interface, or by specifying LU names on the command line when starting the
3270 emulation program. (For a 5250-only user, this eld is ignored.) Possible values are:
AP_YES
The user can change the LU/session mapping.
AP_NO
The user cannot change the LU/session mapping.
def_data.change_style
Species whether the user has permission to load style les, modify style les, or both. Possible values are:
AP_STYLE_ADVANCED
The user can specify a style le name when starting the emulation program, and can create or modify
style les using the emulation programs menu interface.
AP_STYLE_NORMAL
The user can specify a style le name when starting the emulation program, and can create or modify
style les using the emulation programs menu interface. The user cannot modify the default style le
specied by the
style_le parameter.
The 3270 emulation program does not distinguish between the two values AP_STYLE_ADVANCED and
AP_STYLE_NORMAL; to prevent users from modifying the default style le, set the permissions on
this le so that users do not have write access to it.
AP_STYLE_INITIAL
The user can specify a style le name on the command line when starting the emulation program, but
cannot load, create, or modify style les from within the menu interface. This option allows you to
provide a choice of standard initial style les for a user.
AP_STYLE_RESTRICTED
The user is restricted to the default style le specied by the style_le parameter, and cannot create or
modify style les.
def_data.user_is_group
Species whether the user_name parameter identies a user name or a group name. Possible values are:
AP_YES
The user_name parameter identies a group name. Any user in this group will use this emulator user
record unless there is an explicit record for the users user name.
AP_NO
The user_name parameter identies a user name.
For each session being dened by this verb, up to the number specied in num_sessions,a
session_def_data structure
is required with the following information:
session_def_data.session_name
A name identifying the session. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 characters. If the name matches an existing session name dened for this user, the information
for that session is replaced; otherwise a new session is added.
To dene 3270 sessions that are initially displayed in the 3270 emulation programs control interface, specify
a name in the range SESS0001SESS0010. These names correspond to the session numbers 110 in
the control interface; that is, if you use the names SESS0002, SESS0003, and SESS0005, the control
153