Creating the MFDBFH Configuration File

To create a PAC MFDBFH configuration file (mfdbfh.cfg):

  1. Create the following folder C:\PAC_Config (Windows) /PAC_Config (UNIX).
  2. In the folder, create a file called mfdbfh.cfg.
  3. Copy and paste the following content into the file, substituting your postgres password as appropriate (Windows):
    <?xml version="1.0" encoding="utf-8"?>
    <datastores>
    	 <server name="MYPAC" type="postgresql" access="odbc">
    		  <dsn name="Database" type="database" dbname="postgres" userid="postgres" password="xxxxxxxx"/>
    		  <dsn name="MYPAC" type="region.cas" region="MYPAC" feature="all" userid="postgres" password="xxxxxxxx"/>
    		  <dsn name="CrossRegion" type="crossregion.cas" userid="postgres" password="xxxxxxxx"/>
    	 </server>
    </datastores>
    

    (UNIX):

    <?xml version="1.0" encoding="utf-8"?>
    <datastores>
      <server name="MYPAC" type="postgresql" access="odbc">
        <dsn name="PG.MASTER" type="database" dbname="postgres" userid="postgres" password="xxxxxxxx"/>
        <dsn name="PG.REGION" type="region.cas" region="MYPAC" feature="all" userid="postgres" password="xxxxxxxx"/>
        <dsn name="PG.CROSSREGION" type="crossregion.cas" userid="postgres" password="xxxxxxxx"/>
      </server>
    </datastores>
Note: Micro Focus recommends that you create and edit the mfdbfh.cfg file using the dbfhconfig utility. See The dbfhconfig Command Line Utility for more information.