## zowe › ca7 › commands › addrq › 1

The ADDRQ command manually adds temporary, one-time, preexecution user or predecessor job requirements.
These requirements must be added to the job while it is in the CA Workload Automation CA 7 Edition
request queue. These added requirements apply only to the current run of the job.
You must manually satisfy user requirements with the QM.2 panel (POST) or XRQ command before the job executes.
Predecessor job requirements are satisfied automatically when the predecessor job completes successfully.

#### Usage

zowe ca7 commands addrq_1 [options]

#### Options

- `--key` (string)

  - The command transaction key

- `--ca7#` (string)

  - Defines the job to which you want to add the job requirement.
    The job must be in the request queue.
    jobnumber
    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

- `--depjob` (string)

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

  - 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

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

    Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.

- `--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_1 --ca7# 0016`