Command Reference Guide

Administration Commands
delete_cos
If you are deleting ports without deleting the connection network, specify the names of the ports to be deleted.
Each port name is a string of up to eight characters. To delete the connection network, do not specify any
port names.
2.65.2 Returned Parameters
No parameters are returned by SNAplus2 when this command executes successfully.
2.65.3 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 specic details about the reason for unsuccessful execution.
Parameter Check
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:
INVALID_CN_NAME
The fqcn_name parameter was not set to a valid CN name.
State Check
No specic state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands,
occur for this command.
Function Not Supported
If the command does not execute because the nodes conguration does not support it, SNAplus2 returns the
following parameters:
primary_rc
FUNCTION_NOT_SUPPORTED
The local node is a LEN node. This command is valid only at a network node or an end node.
secondary_rc
(This parameter is not used.)
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary
return codes that are common to all commands.
2.66 delete_cos
The delete_cos command deletes a class of service (COS) entry. Only locally-dened COSs can be deleted;
the default COSs dened by SNA cannot be deleted.
If the node supports mode-to-COS mapping (as dened by the mode_to_cos_map_supp parameter on the
define_node command) and the conguration includes modes that are mapped to the COS you are deleting,
252