Command Reference Guide

Administration Commands
query_directory_lu
This parameter applies only if the local node is a Network Node or a Branch Network Node; it is reserved
otherwise.
If the
supplier_cp_type parameter indicates that the directory entry was registered by a node that is not the
owning resource, this parameter species the fully qualied name of the CP that supplied the registration;
otherwise it is not used.
The name consists of a 18 character network name, followed by a period, followed by a 18 character CP
name.
2.118.4 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_RES_NAME
The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied
name, but the resource_name parameter value was not valid.
INVALID_RES_TYPE
The resouce_type parameter was not set to a valid value.
State Check
No specic 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.119 query_directory_lu
The query_directory_lu command returns a list of LUs from the directory database. The command can be
used to obtain information about a specic LU or about multiple LUs, depending on the options used.
This command must be issued to a running node.
2.119.1 Supplied Parameters
Parameter name Type Length Default
[query_directory_lu]
num_entries decimal 1
list_options constant SUMMARY + INCLUSIVE
342