Operate z/OS Jobs

IBM z/OSMF collection provides capabilities to work with batch jobs on a z/OS system using Ansible playbooks. There are three roles provided to interact with z/OS jobs REST services. These roles drive z/OS jobs RESTful services to operate batch jobs.

Roles

  • zmf_job_complete:

    This role can be used to submit a job to run on z/OS, check its return code after the job is completed, and check the user specified content from spool files, and save the user specified spool files on Ansible control node.

  • zmf_job_query:

    This role can be used to query a job running on z/OS, check its return code, and check the user specified content from spool files, and save the user specified spool files on Ansible control node.

Requirements

See the section Requirements.

Sample Playbooks

See the section Playbooks.