The delete_cos command deletes a class of service (COS) entry. Only locally-defined
COSs can be deleted; the default COSs 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 the define_node command) and the configuration includes modes that are
mapped to the COS you are deleting, SNAplus2 will remap these modes
to the default COS (specified by a define_mode command with no mode name) or to the SNA-defined COS #CONNECT if
no default COS is specified.
Supplied Parameters |
 |
Parameter name Type Length [delete_cos] cos_name character 8
|
Supplied parameter is:
- cos_name
Specifies the class of service name to be deleted.
This name is type-A character string starting with a letter.
Returned Parameters |
 |
No parameters are returned by SNAplus2 when this command executes successfully.
Error Return Codes |
 |
If the command cannot be executed, SNAplus2 returns a primary
return code to indicate the type of error and a secondary return
code to provide specific details about the reason for unsuccessful
execution.
If the command does not execute because of a parameter error,
SNAplus2 returns the following parameters:
- primary_rc
PARAMETER_CHECK
- secondary_rc
Possible values are:
- COS_NAME_NOT_DEFD
The supplied name is not the name of a COS defined
on the SNAplus2 node.
- SNA_DEFD_COS_CANT_BE_DELETE
The supplied name is the name of an SNA-defined COS,
which cannot be deleted.