broadcom / broadcom.ca7 / 2.0.7 / module / commands_post Posts the requirement for a job | "added in version" 1.0.0 of broadcom.ca7" Authors: Daniel Remta <daniel.remta@broadcom.com> (@broadcom) | supported by Broadcom This plugin has a corresponding action plugin.broadcom.ca7.commands_post (2.0.7) — module
Install with ansible-galaxy collection install broadcom.ca7:==2.0.7
collections: - name: broadcom.ca7 version: 2.0.7
The POST command indicates to the CA Workload Automation CA 7 Editionsystem that a preexecution requirement for a job in the request queue is satisfied.
- name: The requirement for ca7 number 0016 in the request queue is satisfied broadcom.ca7.commands_post: ca7num: 0016
dsn: description: - 'Example: CA7.DSN1' - (Optional) Identifies a data set requirement to post as satisfied. - Value can be a specific data set name or a CA WA CA 7 Edition data set number. - If you are using a number, only the number can be specified without the DS prefix. - '' - Mutually exclusive with DEPJOB and USR. - dsname - Indicates a specific data set name. - 'Limits: 1 to 44 alphanumeric characters' - dsnumber - 'Indicates a specific data set number. ' - 'Limits: 1 to 8 numeric characters.' required: false type: str usr: description: - 'Example: USER WILL CALL TO RELEASE' - (Optional) Identifies a user-defined description of a requirement to post as satisfied. - Mutually exclusive with DEPJOB and DSN. - When used, must match the text that is used to define the requirement on the DB.6 panel or with the ADDRQ command. - '' - 'Limits: 1 to 36 alphanumeric characters.' required: false type: str host: description: - Host name of the CA7 API service that is running on the mainframe system. required: true type: str port: description: - Port for the CA7 API service that is running on the mainframe system. required: true type: int preq: description: - 'Example: (17,19,20,32)' - (Optional) Valid only with DSN to identify up to 11 numeric values to include - with other CA WA CA 7 Edition log data logged as a result of the POST command being issued. - Mutually exclusive with USR, DEPJOB, and INTERNAL. - Code values in sublist form, within parentheses. - You can code up to 11 values that are separated by commas between the parentheses. - Each value cannot exceed 4 numeric digits. - This optional field can be useful for logging any meaningful numbers, such as batch numbers, which can later be reviewed in the log data set. required: false type: str user: description: - User name for authenticating connections to the CA7 API service that is running on the mainframe system. required: true type: str ca7num: description: - Ca7num=0016 - '' - Indicates the job number in up to four digits, for which requirements are posted. required: true type: str depjob: description: - 'Example: PAYJOB' - (Optional) Identifies a predecessor job dependency requirement to post as satisfied. - Value must be a specific job name. - Mutually exclusive with DSN and USR. - '' - In normal situations, CA WA CA 7 Edition automatically posts this type of requirement when the predecessor job completes its execution successfully. - A manual posting is only necessary if a job defined as a requirement was not to be run, - or ran unsuccessfully and a successor job is to be run.The DEPJOB must be posted if it is not currently defined to CA WA CA 7 Edition - (an external job). - 'Limits: 1 to 8 alphanumeric characters.' required: false type: str rmtjob: description: - '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. - . required: false type: str rmtschd: description: - '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.' required: false type: str internal: description: - 'Example: YES' - (Optional) Valid only with DSN to indicate that the data set being posted is internal to the CA WA CA 7 Edition workload. - YES is the only acceptable value. - Mutually exclusive with USR, DEPJOB, and PREQ. - In normal situations, CA WA CA 7 Edition automatically posts requirements for internal data sets. - 'Limits: YES is the only acceptable value.' required: false type: str password: description: - Password for authenticating connections to the CA7 API service that is running on the mainframe system. required: true type: str protocol: choices: - http - https description: - Specifies protocol to use for CA7 connection (http or https). required: true type: str base_path: description: - The base path for your Zowe 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 Zowe API Mediation Layer. required: false type: str cert_file: description: - 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.' required: false type: path cert_key_file: description: - The file path to a certificate key file to use for authentication. required: false type: path reject_unauthorized: default: true description: - Reject self-signed certificates. required: false type: bool
data: description: Data from the module execution (a data structure). The items of this dict are set as individual return values on the top level as well. elements: dict returned: when returned data is a dictionary type: list error: contains: additional_details: description: Detailed message about the failure. type: str msg: description: Short description of the result or failure. type: str request: description: HTTP method used to invoke API service request. returned: API request failed type: str resource: description: URI of the resource of the API service request. returned: API request failed type: str description: More details about why the action has failed. If the failure is when calling an API service, the response contains the connection parameters. returned: error type: complex failed: description: A boolean that indicates if the task was failed or not. returned: always type: bool list: description: Data from the module execution (a list of data structures). elements: dict returned: when returned data is a list type: list msg: description: Short description of the result or failure. returned: sometimes type: str rc: description: Exit code of the module, successful exit code is 0, failure is typically 1 or higher. returned: always type: int stderr: description: Details of the error. returned: error type: str stdout: description: Summary of the result. returned: success type: str