次の太字のエントリを mfdbfh.cfg (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"/> <dsn name="VSAM" type="datastore" dsname="VSAM" 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"/> <dsn name="PG.VSAM" type="datastore" dsname="VSAM" userid="postgres" password="xxxxxxxx"/> </server> </datastores>
Micro Focus では、dbfhconfig ユーティリティを使用して mfdbfh.cfg ファイルを作成および編集することをお勧めします。詳細については、「dbfhconfig コマンド ライン ユーティリティ」を参照してください。
構成の詳細については、「構成要件」の章を参照してください。