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.
We have client data on different systems. therefore the data entry departments want me to build a report that compares the several sources of data to be sure all the static data of each client is filled in as it should be. We have a RMS database, an MsSQL system and some data in a sybase database. I can build reports on all 3 and the do have one field in common (cltnr).
My question is how can I build one report that shows from RMSdata from sybase from SQL cltnr name address ....accman department....extra code.....
In some cases the sybase data is not filled, in some the sql and sometimes the RMS data is missing. I can do this in two ways but witch one is the best. 1) first create 3 hold files HOLDSQL, HOLDRMS and HOLDSYB (format focus index cltnr) 2) create one extra hold file that combines the field "CLTNR" from all the 3 into a HOLDMAST 3) link the 4 files in an outer join from HOLDMAST. 4) build the report
The other way is create a master file, with all the expected fields and put all the data with modify into that focus file.
I'm not sure if the last one is the better, or if the first one is going to work at all.
what should you do.
thanks for the advice!
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
How about using match file? This would eliminate your step2 (extra hold file) and having to join the hold files:
MATCH FILE SQLFILE PRINT SQLFIELDS BY CLTNR RUN FILE RMSFILE PRINT RMSFIELDS BY CLTNR RUN FILE SYBFILE PRINT SYBFIELDS BY CLTNR AFTER MATCH HOLD OLD-OR-NEW END
Then just table the resultant hold file.
Good Luck
et
FOCUS 7.6 MVS PDF,HTML,EXCEL
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004
Assuming you have a hub server on Windows, connected to each database, you can do the whole thing in one fex, without creating the hold files or masters:
MATCH FILE rmstable
SUM various rmsfields
BY CLTNR
RUN
MATCH FILE sybasetable
SUM various sybasefields
BY CLTNR
AFTER MATCH HOLD OLD-OR-NEW
RUN
MATCH FILE mssqltable
SUM various mssql fields
BY CLNTR
AFTER MATCH HOLD OLD-OR-NEW
END
TABLE FILE HOLD
-etc
ok this sounds rather sympel, I will give it try. thanks for this. Is there a difference in the result in HOLD OLD-OR-NEW or OLD-AND-NEW? Well, let me try both options...
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006