Skip to content

Introduction

The ZMF XML Services let you work directly with the z/OS Unix Hierarchical File System (HFS) on the mainframe. Operations on files and directories are supported.

Hierarchical File System Functions

The following HFS data management functions are supported for general use:

  • HFS Directory Services — Create, delete, rename, or list the contents of a directory.

  • HFS File Lifecycle Services — Create, delete, rename, or copy an HFS file, change certain file attributes, test for file existence and verify user access permissions, or scan files for strings.

  • File Conversion Services — Import a z/OS PDS (Partitioned Data Set) member as an HFS file or export an HFS file as a PDS member.

High-Level Syntax

The syntax that identifies a z/OS Unix HFS message in Serena XML appears in the name attribute of the <service> tag, as follows:

<service name="file">

HFS directory services use the following <scope> tags:

<scope name="dirs">
<scope name="files">
<scope name="service">

HFS file lifecycle services and file transfer/conversion services both use the following <scope> tag:

<scope name="service">

Case is significant in all attribute values (delimited by double quotes).

Package, component, and other services have been extended to support the new HFS data objects with new tags or new allowed values in existing tags. See the chapters addressing the relevant package, component, or other services for details.

Services to manage native z/OS PDS datasets are discussed in Dataset Management.

Database files and tables managed under DB2 or IMS are discussed in Database Management.

Note

Each Service listed requires the user ID running the service to have the appropriate access permissions for the resources requested defined for it in your mainframe security system.