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.
Supported Clients
This command is valid for all clients.
Syntax
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.
Option | Where to use |
---|---|
scrolllines | Client options file (dsm.opt) or command line. |
scrolllines | Client user options file (dsm.opt) or command line. |
scrollprompt | Client options file (dsm.opt) or command line. |
scrollprompt | Client 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