## zowe › ops › show › rule

Display data associated with the specified rule. Currently, only rule status is displayed.

#### Usage

zowe ops show rule <ruleset> <rule> [options]

#### Positional Arguments

- `ruleset` (string)

  - The rule set containing the rule.

- `rule` (string)

  - The name of the rule.

#### OPS WEB SERVICES CONNECTION OPTIONS

- `--user` (string)

  - Your z/OS user name used to authenticate to OPS Web Services

- `--password` | `--pass` (string)

  - Your z/OS password used to authenticate to OPS Web Services

- `--host` (string)

  - The hostname of the server where OPS Web Services is running.

- `--port` | `-p` (number)

  - The port number for OPS Web Services.

- `--reject-unauthorized` | `--ru` (boolean)

  - If set to true, the server certificate is verified against the list of supplied CAs. If set to false, certificate verification is not performed.

    Default value: true

- `--protocol` | `--prot` (string)

  - The protocol used for connecting to OPS Web Services

    Default value: https
    Allowed values: http, https

- `--subsystem` | `--subs` (string)

  - Specifies the subsystem id of the OPS/MVS instance to which commands will be directed.

#### Profile Options

- `--ops-profile` | `--ops-p` (string)

  - The name of a (ops) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Show the status of MYRULE on ruleset OPSRULES on subsystem OPSS:

  - `zowe ops show rule OPSRULES MYRULE --subsystem OPSS`