I am looking for suggestions on different strategies. We need to compare the contents of two tables located in two different People Soft Oracle databases. We have a WF production server pointing at People Soft production and one WF test server pointing at People Soft test.
1. One table is in the production database. The People Soft production connection and the table's synonym are defined on the WF production server.
2, The other table is in the test database. The People Soft test connection and the table's synonym are defined on the WF test server.
The table names and attributes are the same, but the report needs to show differences in the data.
One solution is to define both PeopleSoft production and test database adapter connections on each WF server and create a synonym for each table. Then it is a simple WF program to compare the two tables. Are there other options? I am trying to NOT define both databases on each WF server.
Environment; WF 7.6.11, People Soft Oracle adapter.
Thank youThis message has been edited. Last edited by: Kerry,
WF 8005 and Tomcat
OS; Windows 64 bit
Adapters; DB2, People Soft, Oracle, MSSQL
Output; Excel, Doc, Tab, PDF, HTML
In our environment, we use the same master and ACX files.
The ACX files have the connection removed, and the schema removed from the table name, our table names are the same across databases.
All we then do is to change the user/passowrd for the datasource, and use the same masters.
The drawback is its atwo step process, step one, get the data from the table in the first DB into a hold, swap users, then compare the hold file to the second DB.
If you use two different masters, you can simplyfy the request, but the process will be the same. WebFOCUS can't directly compare the two tables. It will hold both, then compare.
You can also create a synonym of the master file on the other server. This assumes there is connectivity between the two WebFOCUS servers.
It's not possible to compare data betwwen sources unless the contents of both can be accessed from a single place.
With such as oracle you do not need to declare a server in the WebFOCUS Server console
you can declare it at run time in the focexec (providing the adapter is configured).
ENGINE [SQLORA] SET CONNECTION_ATTRIBUTES connection TNS_name/userid,password
You can use either the single master approach mentioned by Waz or the 2 master approach
by copying and editing the original .MAS and .ACX
Or you can create the .mas and .acx dynamically by manually issuing a create synonym
in the request at run time.
CREATE SYNONYM filename FOR owner.table@databaselink DBMS SQLORA
As an alternative if you do not want to do this manual declaration you could create a dblink
from one system to the other for the tables you need, but this means changes to the People Soft
core system so it should be a last resort.
One option could be also hub-sub configuration if you really don't want to describe both Oracle connections. Then you define your remote server and access its available metadata from there.
iDM 7.6.5 - 7702
WF 7.6.4 - 7702
All output formats
You have to pay for that.
A Hub-Sub requires an EDA/iWay Server on the Sub.
Actually definition of sub is a bit open.
(this is my interpretation, but seek legal advice from your local IBI rep.)
A sub can be a licensed, dedicated EDA (iWay) server instance only supplying connection
to specific licensed adapter resources on the sub.
A sub can be another licensed WebFOCUS server instance only supplying connection
to specific licensed adapter resources on that WebFOCUS server.
Either way you should have some type of license.
Sorry to possibly add more missery on top of the first English thrashing in 26 years.
From my memory, I didn't think you needed a licence to get data from a sub server, as the sub server would reauire the licence to access what ever information it has.
With our servers here, I can't add any more adapters, we are only licenced for one, but can add as many sub server as we like.
Is this a loophole ?, I don't know. I suppose a sub server could be construed as another data source, it may be related to the individual licence agreement, but as you said, check with the IBI rep.
If the sub is licensed and has a valid license for its targets.
Then from a WebFOCUS server point of view that is an SQLEDA source.
? does that require an additional WF server adapter license or not.
Local/national/international IB policy issue.
The local rep is the only one that can give the correct answer
in any specific market situation.
I guess that I shy away from anything license related, it makes my brain hurt.
|Powered by Social Strata|