Open ddimatos opened 1 year ago
Most STC's come up fairly quickly, but I am working on an Ansible playbook that creates new started tasks, that take 10 mins or more to initialise ( there is a large VSAM file formatting part that has to happen one time which takes 10 mins ) plus then some further initialisation that takes over 10 mins ( again this is a one off )
It would be good if this module could output progress messages, for example every X retry, show last line of a specified DD name
In this particular case, would want to be able to specify this:
This would let whoever is watching the playbook see progress messages, which for this particular case where startup of the STC will take over 20 mins would be provide reassurance to the watcher that the STC startup is progressing
Please also take into considering the fact that multiple STC can be running with the same name. If we have 2 STC with the same name running, we'd have to specify the ASID in the stop command.
New module description
This could end up being a module possibly but lets describe the components and then the use case/requirement:
Support the ability to start or stop a z/OS Started task. Today the
ibm_zos_core
collection has no support for started tasks, it only happens that batch jobs and started tasks are JCL and have similarities in that the other modules such aszos_job_query
andzos_job_output
can access the spool such that it appears there is support. Currently the collection has no test cases that perform any started tasks operations and validate as a result of that.The request is to have a module (or could be a role) that could START or STOP the z/OS Task and then be instructed to look for a particular message.
Things to consider:
IMS READY
What is a started task:
What is a Batch Job:
Started task vs Batch Job:
Link to some internal discussion, suffix ending
/archives/CSLEJ8VGV/p1673841703935819
User story
The request is to have a module (or could be a role) that could START or STOP the z/OS Task and then be instructed to look for a particular message.