Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Compare tables across databases

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Compare tables across databases
 Login/Join
 
Member
posted
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 you

This 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
 
Posts: 5 | Location: Univ of Nebraaska | Registered: May 15, 2003Report This Post
Expert
posted Hide Post
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
<JG>
posted
quote:
I am trying to NOT define both databases on each WF server.

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.
 
Report This Post
Member
posted Hide Post
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.


iSM 6.0
iDM 7.6.5 - 7702
WF 7.6.4 - 7702

All output formats
 
Posts: 23 | Location: Tallinn, Estonia | Registered: July 31, 2009Report This Post
<JG>
posted
quote:
hub-sub configuration

You have to pay for that.
 
Report This Post
Expert
posted Hide Post
quote:
quote:
hub-sub configuration

You have to pay for that.

Confused


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
<JG>
posted
Waz,

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.
 
Report This Post
Expert
posted Hide Post
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
<JG>
posted
Waz,

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.
 
Report This Post
Expert
posted Hide Post
Good point.

I guess that I shy away from anything license related, it makes my brain hurt.



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Compare tables across databases

Copyright © 1996-2020 Information Builders