
Administration Commands
query_cos_tg_row
For more information about these parameters, see Section 2.12, define_cos.
2.112.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 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:
INVALID_COS_NAME
The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the cos_name parameter value was not valid.
INVALID_LIST_OPTION
The list_options parameter was not set to a valid value.
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.
2.113 query_cos_tg_row
The query_cos_tg_row command returns TG row information for a specified class of service (COS). This command can be used to obtain information about a specific COS TG row or about multiple COS TG rows, depending on the options used.
The information is returned as a formatted list. To obtain information about a specific TG row or to obtain the list information in several rows, specify values for the tg_row_index and cos_name parameters. This returned list is ordered by the cos_name first and then by tg_row_index. The cos_name is ordered first by name length and then by ASCII lexicographical ordering for names of the same length. The tg_row_index is ordered numerically.
2.113.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_cos_tg_row] |
|
|
|
num_entries | decimal |
| 1 |
list_options | constant |
| LIST_INCLUSIVE |
cos_name | character | 8 | (null string) |
tg_row_index | decimal |
| 0 |
326