![](/images/new-backgrounds/1308428/308428979x1.webp)
Administration Commands
query_node_all
2.155.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
No parameter errors occur for this command.
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 additional combinations of primary and secondary return codes that are common to all commands.
2.156 query_node_all
The query_node_all command returns information about nodes in the SNAplus2 domain. The command returns only a list of node names and does not provide detailed information about the node’s configuration. You can use query_node for a particular node name to obtain detailed information about that node.
This command must be issued without using the
2.156.1 Supplied Parameters
Parameter name | Type | Length | Default |
[query_node_all] |
|
|
|
num_entries | decimal |
| 1 |
list_options | constant |
| LIST_INCLUSIVE |
node_name | character | 128 | (null string) |
Supplied parameters are:
num_entries
Maximum number of nodes for which data should be returned. You can specify 1 to return data for a specific node, a number greater than 1 to return data for multiple nodes, or 0 (zero) to return data for all nodes.
list_options
The position in the list of nodes from which SNAplus2 begins to return data. The list is not ordered by node name; however, the order remains the same for subsequent query_node_all commands.
Possible values are:
FIRST_IN_LIST
Start at the first entry in the list of nodes
LIST_INCLUSIVE
Start at the entry specified by the node_name parameter
LIST_FROM_NEXT
Start at the entry immediately following the entry specified by the node_name parameter
490