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.
Can you create two additonal hold files from the same hold file and then join them?
I am pulling a subset of data into a hold file. I'm then grouping and counting the records in another hold file. I then need to take a subset of the first hold file and count and group that and then join the two hold files that were counted and grouped. When I try to join the hold files I get an error.
Do I have to repull the data from the original tables instead of using the narrowed down hold file? Maybe there is an easier way to do this? I basically need to group by the same thing (vendor number) and count the total records and also count a smaller subset of those records. Can anyone point me in the right direction?
Thanks!This message has been edited. Last edited by: coakman,
TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST
BY CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
ENDSTYLE
END
Dealer cost per country (sort of a subtotal) with a grand total at the bottom
You should also look up subtotals. There are many posts on this kind of question.
WebFOCUS 7.7.03/8.0.08 Dev Studio 7.7.03/8.0.08 App Studio 8.0.08 Windows 7 ALL Outputs
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012
Consider a "result to code" approach. That is: define what you want (result) and then we can determine how to get there. I'm thinking that all the data is in the initial file, so you don't need multiple hold files. Also consider the multi-verb-request.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Thanks so much! I was able to do everything through the one initial hold file by creating IF/THEN statements that calculated a 0 or 1 for what I needed and summed them.