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.
Here is my code. I would like to not have to use a hold file to do this. I am using COUNT and trying to sort by highest COUNT.
APP HOLD HOLDFEX
DEFINE FILE FILEA
PRDGRP/A15=IF HSCODE EQ 69 THEN 'PRD1' ELSE
IF HSCODE EQ 1 OR 3 OR 11 OR 17 OR 25
OR 39 OR 41 OR 43 OR 53 OR 79 THEN
'PRD2' ELSE
IF HSCODE EQ 119 THEN 'PRD3' ELSE
'PRD4';
END
TABLE FILE FILEA
COUNT MRN_R COLUMN-TOTAL ROW-TOTAL
ACROSS PRDGRP
BY FIELD1
BY FIELD2
BY FIELD3
IF FIELD4 EQ 'AA'
ON TABLE HOLD AS NEWTABLE FORMAT FOCUS
END
TABLE FILE NEWTABLE
PRINT
FIELD1
FIELD2 AS 'DESCRIPTION'
FIELD6 AS 'PRD1'
FIELD7 AS 'PRD2'
FIELD8 AS 'PRD3'
FIELD9 AS 'PRD4'
ROWTOTAL AS 'TOTAL' COLUMN-TOTAL
BY HIGHEST ROWTOTAL NOPRINT
WebFocus 7.6 Windows Server PDF output
Posts: 5 | Location: JRMC | Registered: February 08, 2011