We have 10 different warehouse each having AS400.
Our issue is when creating metadata over the data we would like to create it for one database (one As400 Warehouse) and then be able to dynamically connect to other warehouse and their metadata by some programmable method.
Can this be done or do we need to create metadata for every instance of the database?
Can we dynamically connect to different AS400?This message has been edited. Last edited by: Kerry,
Yes you can re-use the meta data and dynamically connect.
Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
Thanks for your Response.
Can you please provide steps(sample code) to dynamically connect to AS400 from procedure and choose metadata at run time.
When you create your meta data (master/access files) you'll notice that the access file contains the connection info. This name refers to the connection string that you can specify in (among other places) the edasprof.prf file.
The only thing you need to do is to come up with a way to decide which data warehouse to use and issue the correct connection command for that warehouse using the connection name as specified in your access file(s).
I've done this for one of my client to be able to report from the current or from a history warehouse, so I know it works that way.
Hope this helps..
|Powered by Social Strata|