## zowe › ca7 › dataset › delete-dataset-trigger

Delete Dataset Trigger

#### Usage

zowe ca7 dataset delete-dataset-trigger [options]

#### Options

- `--dataset-name` | `--dname` (string)

  - (Required if dataset-number is omitted) Specifies the data set name whose creation/update causes triggering of a job.
    Note: For VSAM files, specify the cluster name.
    Limits: 1 to 44 alphanumeric characters

- `--dataset-number` | `--dnum` (string)

  - (Required if dataset-name is omitted) Specifies the existing data set number whose creation causes triggering. The number is the value that CA 7 assigned to the data set.
    Limits: 1 to 8 numeric characters

- `--schid` (string)

  - (Optional) Specifies for which schedule ID of the triggering dataset the triggered-job is scheduled.
    Note: If the data set is one that is tracked with use of SASSXDSN (externally tracked data sets), the schid field must be 000 for the trigger to work
    Default: 0 (all schedule IDs)
    Limits: 1 to 3 numeric characters from 0 through 999

#### Required Options

- `--triggered-job` | `--tj` (string)

  - Specifies the job name that the completion of the triggering dataset triggers.
    Limits: 1 to 8 alphanumeric characters

#### CA7 Connection Options

- `--host` | `-H` (string)

  - Host name of the CA7 API service that is running on the mainframe system.

- `--port` | `-P` (number)

  - Port for the CA7 API service that is running on the mainframe system.

- `--user` | `-u` (string)

  - User name for authenticating connections to the CA7 API service that is running on the mainframe system.

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

  - Password for authenticating connections to the CA7 API service that is running on the mainframe system.

- `--base-path` | `--bp` (string)

  - The base path for your API mediation layer instance. Specify this option to prepend the base path to all resources when making REST requests. Do not specify this option if you are not using an API mediation layer.

- `--protocol` | `-o` (string)

  - Specifies protocol to use for CA7 connection (http or https).

    Allowed values: http, https

#### Profile Options

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

  - The name of a (ca7) 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

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

  - Reject self-signed certificates.

    Default value: true

- `--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

- Delete a Dataset Trigger definition DATA.SET.NAME with schid 42 for Triggered job JOBA:

  - `zowe ca7 dataset delete-dataset-trigger --dname DATA.SET.NAME --schid 42 --tj JOBA`