Query Options

Use the query options command to display all or part of your options and their current settings that are relevant to the command-line client.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Query Options--+------------+---- --pattern-----------------><
                  '- --options-'                   

Parameters

pattern
An optional character string that can include wildcards. Use this argument to specify a subset of options. The default is to display all options.
Table 1. Query Options command: Related options
Option Where to use
Windows operating systemsscrolllines Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsscrolllines AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user options file (dsm.opt) or command line.
Windows operating systemsscrollprompt Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsscrollprompt AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user options file (dsm.opt) or command line.

Examples

Task
Display all options and their values.
query options
Task
Display only options that begin with comm.
query options comm*
Task
Display the value of the replace option.
query options replace
Task
Issue the command to display all options and their values. The failover status information is displayed.
query options
Output:
MYPRIMARYSERVERNAME: SERVER1
MYREPLICATIONSERVER: TARGET
     REPLSERVERNAME: TARGET
            Address: 192.0.2.9
               Port: 1501
            SSLPort: 1502
               GUID: 39.5a.da.d1.ae.92.11.e2.82.d3.00.0c.29.2f.07.d3
               Used: yes