The 3 stars are actually the characters A S and S but they are automatically replaced by the forumsoftware.
Thanks for all your comments. I can't get it working however.
My primary database is called "mutatie". In the directory where the database is located I created a file named "mutatie.oesql.properties"
with the following content:
[sql-configuration]
configuration-names-list=allDB
[configuration.allDB]
database-id-list=AS,RE
[database.AS]
Name=assur
Catalog=***
Location=/db/assur
[database.RE]
Name=register
Catalog=reg
Location=/db/register
The physical database names of the other databases are "assur" and "register". Both databases are located in the same directory as the "main" database "mutatie".
Connectionstring looks like this:
con.Open "Driver={Progress OpenEdge 10.2B driver};uid=odbc;host=10.100.100.75;port=12010;db=mutatie[-mdbq:allDB];pwd=odbc;DIL=READ UNCOMMITTED"
If I want to run a query with something FROM reg.pub.tablename I end up with an error "
Catalog name REG is an unknown catalog". The connection with the main database is ok. But the other two are not. All three databases have an SQL-server running
With statements like:
con.Execute "CONNECT 'h:/db/register' AS CATALOG reg"
con.Execute "CONNECT 'h:/db/assur' AS CATALOG ***"
I can run the query without problems but those two statements are not necessary with such a properties file I believe?
Anyone who can help me fixing this problem?
Edit:
At this moment I see some activity in the primary database log-file:
[2011/03/10@15:59:31.053+0100] P-3748 T-5976 I SQLSRV2 2: (-----) User 273 Connection warning: Auxiliary databases not connected
In the auxiliary database logfiles I can see things like this:
[2011/03/10@15:59:23.134+0100] P-528 T-5108 I SRV 3: (8873) Login usernum 275, remote SQL client.
[2011/03/10@15:59:23.134+0100] P-528 T-5108 I SRV 3: (7129) Usr 275 set name to odbc.