Friday, July 4, 2008

[JDBj-SPEC DATA SOURCE] and JDBJ.ini

The [JDBj-SPEC DATA SOURCE] section in jdbj.ini will decide whether the serialized object tables [F989998,F989999] have to be read from OCM or a overridden one.
  1. If the total section is commented out, then these tables are read from the dataSource specified by the OCM mappings.
  2. If the name given for the field 'name=' matches a datasource in the Datasource master table[F98611],then other details like the database type, database name,TCP/IP port etc are fetched from the dataSource master table.
  3. If the name doesn't match any existing datasource, then the properties are read from the other fields mentioned in the section[JDBj-SPEC DATA SOURCE].
Example1:
#[JDBj-SPEC DATA SOURCE]
#name=System - 812
Here the section is commented.So OCM will be used

Example2:
[JDBj-SPEC DATA SOURCE]
name=System - 812
databaseType=I
server=HPISER1
Here suppose 'System - 812' matches an existent datasource in DataSource master table, then the rest details are read from there.This is just for flexibilty and to reduce possible errors we make when the datasource details are entered manually.
If the 'name=' doesn't match any datasource in the F98611 table ,what you have filled in the rest of the section matters.

No comments: