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.
Data is stored in Oracle 10g. We have a denormalized view of data with lots of columns. We'd like to group related data using names like Job, Department, Location, etc..., so that users developing reports can easily find what they are looking for rather than searching through a long alphabetical list.
We cannot change the column names to add a prefix like JOB_JOBCODE instaed of just JOBCODE.
My first thought was to modify the Master to have unique child segments defined for each group even though the data all comes from the same view. For example:
This approach works fine from a WF user perspective; the groups appear in the Object Explorer and can be expanded to show the columns associated with that group.
I changed the access file to include the Access File definition to include the new SEGMENT:
Alan, I'm not sure if creating multiple segments in the Master and then modifying the Access file will work.
Here are two other suggestions:
1) Change the Master to use names with the prefixes you mentioned. The Master has the WebFOCUS column name (FIELD) and the database table column name (ALIAS, usually right after the comma and not tagged with ALIAS). You can change the FIELD to anything you want.
2) Create an Oracle view with renamed columns. The advantage of this is you don't have to change a Master. This is my preferred method, since you're not fooling around with the generated Master.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Francis, Unfortunately we have a requirement to use the same column names as the source system; this is so the user can relate data in the reports directly to the data in the source system without having to "translate" the names. Both of the changes you suggested require changing the column names.
I'm assuming this is a common problem, and I'm hoping there is another solution.
Thanks, Alan
WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
Posts: 65 | Location: Chicago, IL | Registered: July 26, 2007