## zowe › ca7 › update-job-definition › requirement-predecessor

Update requirement definition for a job

#### Usage

zowe ca7 update-job-definition requirement-predecessor [options]

#### Required Options

- `--job` (string)

  - The name of the job that requires the predecessor

- `--schid` (string)

  - The schedule id of requiring job

- `--predtype` (string)

  - The predecessor type

- `--nextrun` (string)

  - The status of predecessor for next run of job
    [ YES, ONLY, SKIP ]

- `--predobject` (string)

  - The predecessor. Values vary with predtype.
    The predecessor. Values vary with predtype.
    When “predtype”:”DSN”,”predobject” is 1-44 name of required dataset.
    When “predtype”:”USER” then “predobject” is 1-44 character user requirement text.

#### Options

- `--leadtime` (string)

  - The satisfaction lead time in hours.
    This may be honored when “predtype” is “job or “DSN”

- `--permanent` (string)

  - Indicates that this predecessor is permanent, that is always considered satisfied.
    This parameter only applies when “predtype” is “DSN”
    [ Y, N ]

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

- post TESJOB1 0009 USER ONLY "APCDAL.TESTDB01.TEST":

  - `zowe ca7 update-job-definition requirement-predecessor TESJOB1 0009 USER ONLY "APCDAL.TESTDB01.TEST"`