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

Operate z/OS Data Sets and UNIX Files

IBM z/OSMF collection provides several modules to work with z/OS data sets and UNIX files. You can use these modules to fetch z/OS data sets and UNIX files from the remote z/OS system to Ansible control node, and copy z/OS data sets and UNIX files from Ansible control node to the remote z/OS system.

Note

  • Check Mode: These modules do not support check mode.

Modules

  • zmf_dataset_fetch:

    This module can be used to retrieve the contents of a sequential data set, or a member of a partitioned data set (PDS or PDSE) from the remote z/OS system, and save them on Ansible control node.

  • zmf_file_fetch:

    This module can be used to retrieve the contents of a z/OS UNIX System Services (USS) file from the remote z/OS system, and save them on Ansible control node.

  • zmf_dataset_copy:

    This module can be used to copy data from Ansible control node to a sequential data set, or a member of a partitioned data set (PDS or PDSE) on the remote z/OS system.

  • zmf_file_copy:

    This module can be used to copy data from Ansible control node to a z/OS UNIX System Services (USS) file on the remote z/OS system.

Requirements

See the section Requirements.

Sample Playbooks

See the section Playbooks.