![](/images/new-backgrounds/1308428/308428737x1.webp)
Administration Commands
query_domain_config_file
secondary_rc
(This parameter is not used.)
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.127 query_domain_config_file
The query_domain_config_file command returns the header information included in the domain configu- ration file (the SNAplus2 version number, the revision level of the file, and an optional comment string).
This command must be issued without specifying a node name.
2.127.1 Supplied Parameters
[query_domain_config_file]
No parameters are supplied for this command.
2.127.2 Returned Parameters
Parameter name | Type | Length |
major_version | decimal |
|
minor_version | decimal |
|
update_release | decimal |
|
revision_level | decimal |
|
comment | character | 99 |
If the command executes successfully, SNAplus2 returns the following parameters:
major_version through update_release
The internal version identifier of the release of SNAplus2 that was used to create this file.
revision_level
The revision level of the file (stored internally by SNAplus2).
comment
An optional comment string containing information about the file, specified on the de- fine_domain_config_file command.
2.127.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.
369