ibm_zos_core
ibm_zos_core copied to clipboard
[Enhancement] [zos_job_submit] Deploy and forget capability
Currently, there is no provision to submit a job and continue on without waiting for a return code. This enhancement adds a provision to have the module submit the target JCL and only wait for confirmation of job submission before returning module success -- probably sufficient to capture the job number and return (the module already captures the job number). The user would leverage zos_job_query
to keep tabs on job status as needed. Initial proposal is to have a user set wait_time_s
to 0
to indicate that the module is to submit the job and not wait for a return code/job completion. The return structure design/values would likely need to change or be modified to handle module exits without a fully populated return code block -- perhaps it makes more sense to leave it out altogether rather than report back a temporary status