Previous Topic: USS Environment Setup

Next Topic: Copy the Product Pax Files into Your USS Directory

Allocate and Mount a File System

You can use the zSeries File System (zFS) or hierarchical file system (HFS) for Pax-Enhanced ESD downloads.

This procedure details how to perform the following tasks:

Important! USS commands are case-sensitive.

To allocate and mount the file system

  1. Allocate the HFS. For example:
    //ALCHFS  EXEC  PGM=IEFBR14 
    //CAESD  DD  DSN=yourHFS dataset name, 
    // DISP=(NEW,CATLG,DELETE),UNIT=3390, 
    // DSNTYPE=HFS,SPACE=(CYL,(primary,secondary,1)) 
    

    The HFS is allocated.

  2. Create a mount point for the file system. This example shows how to create a /CA/CAESD directory in an existing directory, /u/maint. From the TSO OMVS shell, enter the following commands:
    cd /u/maint/
    mkdir CA
    cd CA
    mkdir CAESD
    

    Note: This document refers to this structure as yourUSSESDdirectory.

    The mount point is created.

  3. Mount the file system. For example, from TSO, enter the following command:
    MOUNT FILESYSTEM('yourHFS dataset name') 
          MOUNTPOINT('yourUSSESDdirectory') 
          TYPE(HFS)   MODE(RDWR)
    

    The file system is mounted.

  4. (Optional) Set security permissions for the directory. You can use the chmod command to let other users access the ESD directory and its files. For example, to allow write access to the ESD directory for other users in your USS group, from the TSO OMVS shell, enter the following command:
    chmod -R 775 /yourUSSESDdirectory/
    

    Write access is granted.

    Note: For more information about the chmod command, see the IBM z/OS UNIX System Services User Guide (SA22-7802).