MFDBFH 構成ファイルの作成

PAC MFDBFH 構成ファイル (mfdbfh.cfg) を作成するには、次の手順を実行します。

  1. 次のフォルダー C:\PAC_Config (Windows) /PAC_Config (UNIX) を作成します。
  2. このフォルダーに mfdbfh.cfg という名前のファイルを作成します。
  3. 次の内容をコピーしてファイルに貼り付け、postgres のパスワードを適宜置き換えます。(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>
注: Micro Focus では、dbfhconfig ユーティリティを使用して mfdbfh.cfg ファイルを作成および編集することをお勧めします。詳細については、「dbfhconfig コマンド ライン ユーティリティ」を参照してください。