Try to replicate different schema on iSeries
I got Replication on iSeries working!
But it only works on tables with the same
collection-names (on iseries called library names).
Is there a possibilty to choose different collections
respectivly libraries, if possible on the same iseries?
My settings for publication:
com.ibm.as400.access.AS400JDBCDriver
jdbc:as400://ASTERIX/IBPKDB053;libraries=IBPKDB053;
My settings for subscription:
com.ibm.as400.access.AS400JDBCDriver
jdbc:as400://IDEFIX/HK100C2;libraries=HK100C2;
In spite of the fact that I want to use Collection
HK100C2 in the subscription on IDEFIX for
synchronisation, the collection with name IBPKDB053 (as
used in the publication) is used for the IDEFIX.
Also the struct_IBPKDB053_HK100C.xml contains only
descriptions with collection name IBPKDB053.
Is it possible to have different collection names?
Is there an idea?
Is this the problem? Replicator needs the same schema
name for publication and subscription!?! So I have no
chance to synchronise tables on one iseries, which
belong to different schemas (respectively collections
respectively libraries)?
Or do I have to use a trick and detour using a firebird
database, which does not support and need schema yet.
For example:
sync from iSeries1:IBPKDB053/R000700v to
Firebird-db1/R000700v, then synsc from
firebird-db1/r000700v back to another schema on the
same iSeries iSeries1:IBPKDB061/R000700V!
I hope you understand my problem!
Do you know a better trick?
The best solution would be to omit the schema name in
the struc*.xml, cause for the iSeries jdbc driver you
can give the
default schema to the connection URL
(jdbc:as400://IDEFIX/HK100C2).
Is there an option for omitting schema name?
Best regards and Ciao
Helmut