HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_TN3270_ACCESS
primary_rc
AP_OK
3.76.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
Possible values are:
AP_INVALID_LIST_NAME
The specied security access list name was not dened as a security access list name.
AP_INVALID_USER_NAME
One or more of the specied user names did not match the name of a user dened for this security
access list.
3.76.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.77 DELETE_TN3270_ACCESS
DELETE_TN3270_ACCESS is used to do one of the following:
Delete a TN3270 Server user, so that this user can no longer use TN server to access a host.
Delete one or more of the users sessions but leave the user congured.
3.77.1 VCB Structure
typedef struct delete_tn3270_access
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
AP_UINT16 default_record; /* is this the DEFAULT record? */
unsigned char client_address[68]; /* address of TN3270 user */
AP_UINT32 num_sessions; /* number of sessions to delete */
unsigned char delete_options; /* delete all sessions / delete */
/* user? */
} DELETE_TN3270_ACCESS;
typedef struct tn3270_session_name
{
AP_UINT16 port_number; /* TCP/IP port num of session */
312