DELETE_COS
DELETE_COS deletes a class-of-service entry unless it is one of the default classes of service defined by SNA.
VCB Structure
typedef struct delete_cos
{
unsigned short opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* format */
unsigned short primary_rc; /* primary return code */
unsigned long secondary_rc; /* secondary return code */
unsigned char cos_name[8]; /* class-of-service name */
} DELETE_COS;Supplied Parameters
The application supplies the following parameters:
- opcode
- AP_DELETE_COS
- format
- Identifies the format of the VCB. Set this field to zero to specify the version of the VCB listed above.
- cos_name
- Class-of-service name. This is an 8-byte alphanumeric type-A EBCDIC string (starting with a letter), padded to the right with EBCDIC spaces.
Returned Parameters
If the verb executes successfully, the Program returns the following
parameter:
- primary_rc
- AP_OK
If the verb does not execute because of a parameter error, the Program returns
the following parameters:
- primary_rc
- AP_PARAMETER_CHECK
- secondary_rc
- AP_COS_NAME_NOT_DEFD
AP_SNA_DEFD_COS_CANT_BE_DELETE
If the verb does not execute because the node has not yet been
started, the Program returns the following parameter:
- primary_rc
- AP_NODE_NOT_STARTED
If the verb does not execute because the node is stopping, the Program returns
the following parameter:
- primary_rc
- AP_NODE_STOPPING
If the verb does not execute because of a system error, the Program returns
the following parameter:
- primary_rc
- AP_UNEXPECTED_SYSTEM_ERROR