Previous Topic: ESD Product Download Window

Next Topic: Create a Product Directory from the Pax File

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.

    Note: Ensure that the HFS data set name that you use conforms to your data set naming conventions for USS file systems. If the allocation of the HFS data set fails allocation, it is because of environmental settings not allowing for the allocation. Try using the ISPF 3.2 Data Set Utility to allocate your HFS.

  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 z/OS UNIX System Services User Guide (SA22-7802).