Previous Topic: USS Security RequirementsNext Topic: Concurrent Releases


Allocate and Mount a File System for Mainframe

CA OM Web Services require a zSeries File System (zFS) or Hierarchical File System (HFS) for its target libraries. An existing file system that meets the following requirements is used:

Note: The USS commands are case-sensitive.

Follow these steps:

  1. Allocate the zFS file system. Alternatively, got to step 2 for HFS.
    //ALLOC    EXEC PGM=IDCAMS
    //SYSPRINT DD   SYSOUT=*
    //SYSUDUMP DD   SYSOUT=*
    //AMSDUMP  DD   SYSOUT=*
    //SYSIN    DD *
      DEFINE CLUSTER ( +
      NAME(yourZFS.dataset.name) +
      VOLUME(volume) +
      LINEAR +
      CYL(primary secondary) +
      SHAREOPTIONS(3,3) +
      )
    /*
    //FORMAT   EXEC PGM=IOEAGFMT,REGION=0M,
    //    PARM=('-aggregate yourZFS.dataset.name -compat')
    //SYSPRINT DD   SYSOUT=*
    //SYSUDUMP DD   SYSOUT=*
    //STDOUT   DD   SYSOUT=*
    //STDERR   DD   SYSOUT=*
    //CEEDUMP  DD   SYSOUT=*
    
  2. Allocate the HFS file system. Skip this step if zFS was allocated.
    //ALLOC    EXEC PGM=IEFBR14
    //FILESYST DD DSN=yourHFS.dataset.name,
    //         DISP=(NEW,CATLG,DELETE),
    //         UNIT=3390,VOL=SER=volume,
    //         DSNTYPE=HFS,
    //         SPACE=(CYL,(primary,secondary))
    
  3. Create a mount point for the file system. This example shows how to create a /cai directory in an existing directory, /u/apps. From the TSO OMVS shell, enter the following commands:
    cd /u/apps/
    mkdir cai
    

    Note: This document refers to this structure as @pathprefix1@. The mount point is created.

  4. Mount the file system. For example, from TSO, enter the following command:
    MOUNT FILESYSTEM('yourZFS.dataset.name')
    MOUNTPOINT('@pathprefix1@')
    TYPE(HFS) MODE(RDWR)
    

    The file system is mounted.

  5. (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 /@pathprefix1@/
    

    Write access is not granted.

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