Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Connect Multiple As400
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Connect Multiple As400
 Login/Join
 
Member
posted
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,
 
Posts: 19 | Registered: August 29, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
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.
 
Posts: 416 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Thanks for your Response.

Can you please provide steps(sample code) to dynamically connect to AS400 from procedure and choose metadata at run time.
 
Posts: 19 | Registered: August 29, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
neerajk,

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..


GamP

- Using AS 8.2.01 on Windows 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Connect Multiple As400

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.