Administration Commands
query_mode
sessions are currently active, or all modes that have been used, depending on the options used. The command returns information about current usage of the modes and LUs, not on their definition; use query_mode_definition to obtain the definition of the modes and LUs.
This command must be issued to a running node.
2.148.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_mode] |
|
|
|
num_entries | decimal |
| 1 |
list_options | constant |
| SUMMARY + LIST_INCLUSIVE |
lu_name | character | 8 | (null string) |
lu_alias | character | 8 | (null string) |
plu_alias | character | 8 | (null string) |
fqplu_name | character | 17 | (null string) |
mode_name | character | 8 | (null string) |
active_sessions | constant |
| NO |
Supplied parameters are:
num_entries
Maximum number of modes for which data should be returned. You can specify 1 to return data for a specific mode, a number greater than 1 to return data for multiple modes, or 0 (zero) to return data for all modes.
list_options
The level of information required for each entry and the position in the list of modes from which SNAplus2 begins to return data.
Specify the level of information required with one of the following values:
SUMMARY
Summary information only
DETAIL
Detailed information
Use a + character to combine this value with one of the following values:
FIRST_IN_LIST
Start at the first entry in the list (the first partner LU for the specified local LU)
LIST_INCLUSIVE
Start at the entry specified by the combination of the fqplu_name (or plu_alias) and mode_name parameters
LIST_FROM_NEXT
Start at the entry immediately following the entry specified by the combination of the fqplu_name and mode_name parameters
For FIRST_IN_LIST, the entry used as the index into the list is defined by the combination of lu_name (or lu_alias) and fqplu_name (or plu_alias). If fqplu_name or plu_alias is not specified, the entry used as the index is lu_name (or lu_alias).
For LIST_INCLUSIVE or LIST_FROM_NEXT, the entry used as the index into the list is defined by the combination of lu_name (or lu_alias), fqplu_name (or plu_alias), and mode_name specified.