Preparing an HFS data set

Before you install the base FMID, you must allocate and mount an HFS data set.

About this task

Your product's program directory lists the space requirements for the Hierarchical File System (HFS) data set and other distribution libraries. The HFS holds the message catalog and placeholder programs that enable the replication and publishing programs to run on UNIX System Services for z/OS® (USS). If you did not prepare an HFS for the base code, you must allocate and mount an HFS data set.

Procedure

To prepare an HFS data set for the replication and publishing base code:

  1. Allocate and mount the HFS data set. The sample job below defines the DPROPR.OMVS.HFS data set in an MKFS DD statement and mounts it at the /dpropr directory for read-write. You can mount the HFS data set at the/usr/lpp/db2repl_10_01 mount point or a directory that you select, such as /dpropr.
    //OMVSXX JOB
    //DEFINE EXEC PGM=IEFBR14
    //MKFS DD DSNAME=DPROPR.OMVS.HFS,
    // SPACE=(TRK,(400,15,1)),DCB=(DSORG=PO),
    // DSNTYPE=HFS,
    // DISP=(NEW,CATLG,DELETE),
    // STORCLAS=STANDARD
    //MOUNT EXEC PGM=IKJEFT01,DYNAMNBR=20
    //SYSTSPRT DD SYSOUT=*
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //SYSTSIN DD *
    PROFILE MSGID
    MOUNT FILESYSTEM('DPROPR.OMVS.HFS') -
    MOUNTPOINT('/dpropr') -
    TYPE(HFS) -
    MODE(RDWR)
    END
    //  
  2. Specify that the system mount the new HFS each time the system starts. The BPXPRMxx member of the SYS1.PARMLIB parameter library contains the parameters that control the z/OS UNIX System Services environment and the file systems. Include the FILESYSTYPE statement in BPXPRMxx member that will be used to load the initial program (IPL). Then, the system will automatically mount the new HFS every time it loads the IPL. Here is an example:
    FILESYSTYPE TYPE(AUTOMNT) ENTRYPOINT (BPXTAMD)
    The MVS™ Initialization and Tuning Reference describes the BPXPRMxx member and its parameters in detail.