HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DELETE_COS
AP_INVALID_NUM_PORTS_SPECIFIED
The num_ports parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.52.5 Returned Parameters: Function Not Supported
If the verb does not execute successfully because the local node is a LEN node, SNAplus2 returns the following
parameters:
primary_rc
AP_FUNCTION_NOT_SUPPORTED
The local node is a LEN node. This verb is valid only at a network node or an end node.
3.52.6 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.53 DELETE_COS
DELETE_COS deletes a class of service entry. Only locally defined classes of service can be deleted; the default
classes of service defined by SNA cannot be deleted.
If the node supports mode to COS mapping (as defined by the mode_to_cos_map_supp parameter on DE-
FINE_NODE) and the configuration includes modes that are mapped to the COS that you are deleting, SNAplus2
will remap these modes to the default COS (specified by a DEFINE_MODE verb with a null mode name) or to the
SNA-defined COS
#CONNECT if no default COS is specified.
3.53.1 VCB Structure
typedef struct delete_cos
{
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 */
unsigned char cos_name[8]; /* class of service name */
} DELETE_COS;
3.53.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_COS
cos_name
276