Configuring the IWNIMNT job

You can mount the z/OS File System (zFS) that is created by the IWNCRZFS job, by configuring and submitting the IWNIMNT job. You can choose to create and mount a hierarchical file system (HFS) instead, by using the IWNCRHFS job and updating the IWNIMNT job as needed.

About this task

The IWNIMNT job creates, and then mounts the zFS or HFS at the mount point.

Procedure

  1. Locate the IWNIMNT job in the SYS1.SAMPLIB data set and open it.
  2. Modify the following values on your system, being sure to update the -PathPrefix- to match your system configuration.
    Note: You can use either a HFS or ZFS. However, the following sample job pertains only to those customers who are using a zFS.
    //***********************************                         
    //*                                                           
    //IWNIMNT  EXEC PGM=IKJEFT01                                  
    //SYSTSPRT DD SYSOUT=*                                        
    //SYSTSIN  DD *                                               
       PROFILE WTPMSG MSGID                                       
       TIME                                                  
    
       /* Make sure mountpoints exist. */
        MKDIR '-PathPrefix-/opt/IBM'                MODE(7,5,5)
        MKDIR '-PathPrefix-/opt/IBM/CSM'             MODE(7,5,5) 
                                                                   
       /* Mount the zFS or HFS. */  
        MOUNT FILESYSTEM('#CSM.ZFS') TYPE(ZFS) +           
              MODE(RDWR) +                                        
              MOUNTPOINT('-PathPrefix-/opt/IBM/CSM')                         
    /*
  3. Specify the zFS or HFS that is created by either the IWNCRZFS or IWNCRHFS job by editing the MOUNT FILESYSTEM (#CSM.ZFS) parameter and the TYPE parameter.
  4. Specify CSM_ProductionRoot as the mount point by editing the MOUNTPOINT parameter. The default mount point is -PathPrefix-/opt/IBM/CSM.
  5. Submit the IWNIMNT job.