Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 2 Commands (activate_session to initialize_session_limit)

delete_cos

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

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:

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.

State Check

No specific state errors, other than those listed in Appendix A “Common Return Codes from snapadmin Commands” occur for this command.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands” lists combinations of primary and secondary return codes that are common to all commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.