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.
When we have a sub total on a particular field the subtotal appears indicated by the word *TOTAL. How do we suppress the word '*TOTAl'. It is required to display the subtotal as 'subtotal' irrespective of the value of the sort by field.
DEFINE FILE EMPDATA
BLK/A1=' ';
BLK1/A1=' ';
END
TABLE FILE EMPDATA
PRINT SALARY
BY DIV
BY BLK1 AS ''
BY DEPT
BY BLK AS ''
ON BLK SUBTOTAL AS ''
ON BLK1 SUBTOTAL AS ''
-*ON TABLE SET ONLINE-FMT STANDARD
END
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
I'm on an old mainframe release 7.11 not to confused with Webfocus. It may be a new feature coming to a future mainframe focus release or worse it could be an "undocumented and unsupported feature" in your release that may go away in a future release that would result in a lot of coding changes. Then it would be called code tightening. I sincerely hope that this is not the case for you as you have it all over the place.
Maybe IBI can say for sure what the case is here.
FOCUS 7.6 MVS PDF,HTML,EXCEL
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004
Can the value of COUNTRY also be suppressed? The totals are obviously belong to the subgroup and is no need to re-display it on the subtotal line( especially it always left-justified makes it impossible to lineup with the actual column).
Thanks,
Hua
Developer Studio 7.6.11 AS400 - V5R4 HTML,PDF,XLS
Posts: 305 | Location: Winnipeg,MB | Registered: May 12, 2008
(Web)Focus will always print the value of the by field when doing a subtotal, as far as I know. The trick to do what you observed is to have an extra DEFINEd field, called SPACE or something like that, filled with a space. And issuing a BY SPACE NOPRINT immediately following the BY COUNTRY. Then, instead of ON COUNTRY SUBTOTAL you say ON SPACE SUBTOTAL.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
This should not divide the Total line into two lines because the DEFINE field SPACE is an A1 which will always be equal to or less than the length of the actual sort field shown, COUNTRY.
GamP,
FYI, I think you know that SPACE is a reserved word in the FOCUS language so that is not a good choice of name for the DEFINE field. I hope all is well with you over there.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003