Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Migrating a BMCHFS from a UIM to CIS server


If there are files you wish to preserve from the BMCHFS data set in a UIM installation, there is a simple utility that you can use to copy them to the corresponding location under a CIS.

In CIS, the BMCHFS is a directory hosted directly in a z/OS UNIX directory rather than an emulated data set as it was under UIM. These files contain user preferences, pinned objects, and connection lists. It is easier to migrate them from a UIM instance than to re-establish them manually under the new server.

Ensuring that the directory is created

During the first start of the CIS server, the server will automatically create a BMCHFS directory under the path set in the CISHOME variable of the started task. You can create this directory manually, but the user ID associated to the CIS started task must have the read and write permissions to it. If you allow the server to create it, the permissions are created automatically.

Finding the BMCHFS directory and BMCHFS PDSE

When you start the server, locate a message (similar to the following example) in the STDOUT of the CISSRVR step. It shows the directory where you will find BMCHFS. 

2025-01-28T06:47:51.055Z | INFO  | Directory for /BMCHFS endpoint is : /my/cis/install/path/bmchfs

You can find the BMCHFS PDSE under UIM in the message log, similar to the following message:

08:16:51.303 001    BMCHFS PDSE    : BMCUIM.HDBU.HFS

Running the UIMHMIG utility

Use the following job card to run the UIMHMIG utility. 

Warning

Important

Before running the utility, ensure that:

  • The BMCHFS directory exists before the job is executed, or else you will get a JCL error. You can either manually create the directory under CIS Installation path or just execute the started task and it will create it for you.
  • The user executing the job has the necessary directory permissions, as directories are permission-sensitive. 

To run the utility, modify the job card as follows:

  1. Set your CIS install path in CISHOME.
  2. Add your CIS load library in STEPLIB.
  3. Add the path of your BMCHFS directory of the CIS in the USSDIR DD.
  4. Add the BMCHFS PDSE in the BMCHFS DD. 

//<JOBCARD>
//    SET  CISHOME='/my/cis/install/path' <= Your CIS Install path
//HMIGRUN  EXEC PGM=UIMHMIG,PARM=RUN
//STEPLIB  DD   DISP=SHR,DSN=hlq.BMCLINK <= Your CIS BMCLINK File
//BMCHFS   DD   DISP=SHR,DSN=<BMCHFS>    <= Your UIM HFS Dataset name
//USSDIR   DD   PATH='&CISHOME/bmchfs'   
//SYSPRINT DD   SYSOUT=*

After executing the job, you can verify the list of migrated files in the output. 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Database Advisor for IMS 3.2