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 [options]
Required 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
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--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