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.
Developing a report in App Studio and the report requirement involves presenting 3 summary rows of data in a single grid. For example: the First row is All customer sales over time, the Second row is for sales related to Top 20 customers over time and the Third row is sales for All Other customers over time. The data is not a straight pull from the database so 3 separate HOLD Files were built for each of the above cases. All 3 Hold files have the same fields/columns and are the same format. The plan is to pull all this data back together in another Hold file and build the final version of the report.
If I was writing this in SQL stored proc I would do a UNION of the 3 datasets since each contain the same fields. My question; what is the proper menthod to use in WebFOCUS. I have tried Join and Match and neither give me one table with all three datasets in one union at the same level.
Suggestions or examples appreciated.This message has been edited. Last edited by: <Kathryn Henning>,
loping a report in App Studio and the report requirement involves presenting 3 summary rows of data in a single grid.
----------------------------------- After generating your all hold file use more command for UNION :-
TABLE FILE hold1 PRINT field1 BY field2 ON TABLE HOLD AS final_hold MORE FILE hold2 MORE FILE hold3 END -RUN TABLE FILE final_hold PRINT field1 BY field2 END -EXIT
Thanks! @vi
WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
Another option is to concatenate the hold files via the USE statement, as long as each file has identical columns and column sizes (i.e. master files are identical) and they are held as FOCUS or XFOCUS files.
For example:
USE hold1 AS hold1
hold2 AS hold1
hold3 AS hold1
END
TABLE FILE hold1
PRINT field1
field2
.
.
.
END
Thanks everyone. One additional item I found out is the use wants the report when finished in Report Caster. Are are any expected issues with using any of these solutions?
the use wants the report when finished in Report Caster
?
The above technics shows how to "merge" data files together to be able to use that new file for something else such as producing a report.
If your goal is to create a new file that users will then be able to use by themselves, you'll have to save (APP HOLD ...) this file somewhere on the server and make it available.
You may need to do more research about this and have some WF training.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thanks everyone. I was able to use the 'MORE' command and successfully joined the data I needed together. The report also appears to run just fine in Report Caster.