Without using an intermediate archive file

Use the pax command to copy the source (HFS) file system to the target (zFS) file system, without an intermediate archive file.

Suppose you have an HFS file system mounted at /etc/dfs. You want to copy this into an empty zFS file system mounted at /etc/dir1/testzfs1. You issue the following commands from OMVS:

  1. Move to the source (HFS) file system mounted at /etc/dfs
    cd /etc/dfs
  2. Copy the (HFS) file system mounted at /etc/dfs to the (zFS) file system mounted at /etc/dir1/testzfs1 Start of change
    pax -rwvCMX -p -o saveext eW . /etc/dir1/testzfs1
    End of change