Adding Datastore to the MFDBFH Configuration File

Add the following entry in bold to your 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>
Note: The dsn name attribute value needs to match the data source name. This is how the VSAM database is located.

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.

See the Configuration Requirements chapter for more configuration information.