Warning: This document is for an old version of IBM z/OSMF Collection. The latest version is v3.0.0.

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/OSMF 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.

  • 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.

Requirements

See the section Requirements.

Sample Playbooks

See the section Playbooks.