## zowe › ca7 › commands › addrq

Manually adds temporary, one-time, preexecution user or predecessor job requirements

#### Usage

zowe ca7 commands addrq [options]

#### Required Options

- `--ca7num` (string)

  - ca7num=0016

    Defines the job to which you want to add the job requirement.
    The job must be in the request queue.
    Defines the CA 7 job number to which you want to add the requirement for this run of the job.
    Limits: 1 to 4 numeric characters

#### Options

- `--depjob` (string)

  - example: PAYJOB

    Defines a temporary one-time job dependency requirement.
    The DEPJOB value specifies the job name that must complete execution
    or must be manually posted complete before the job identified by JOB is eligible for submission.

    DEPJOB is required unless USR is used, in which case, omit DEPJOB.
    This requirement is satisfied automatically when the predecessor job completes.
    Only in unusual situations would this requirement must be satisfied manually.
    That is, any time that a normal completion did not occur.

    Required: Yes, unless USR is used.

    Limits: 1 to 8 alphanumeric characters

- `--usr` (string)

  - example: USER WILL CALL TO RELEASE

    Defines the description of a temporary, one-time user requirement.
    This requirement must be manually satisfied before the job identified by JOB is eligible for submission.
    If any commas are included as part of the text, enclose the entire requirements text in parentheses.
    This requirement is satisfied automatically when the predecessor job completes.
    Only in unusual situations would this requirement must be satisfied manually.
    That is, any time that a normal completion did not occur.
    Required: USR is required unless DEPJOB is used, in which case, omit USR.

    Limits: 1 to 36 alphanumeric characters

- `--rmtjob` (string)

  - example: RMT_JOB

    Names the job in the remote scheduler that is required by the job specified in the JOB field.
    Limits: RMTJOB should accept up to 64 characters
    valid characters are a-z, A-Z, 0-9, period (.), underscore (_), hyphen (-),
    colon (:), and pound (#); do not include embedded spaces or tabs.

- `--rmtschd` (string)

  - example: AP1

    Names the remote scheduler where the predecessor job runs.
    Before adding this requirement, the remote scheduler must be defined.
    The remote scheduler defined as type LOCAL cannot be specified.
    Limits: 1 to 3 alphanumeric characters; generic specification not supported.

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

- Adds the job requirement ca7 number, 0016 from CA 7:

  - `zowe ca7 commands addrq --ca7num 0016`