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.
TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
SALES
COMPUTE GAP/D7 = RETAIL_COST - DEALER_COST;
COMPUTE RATIO/D4.2L = GAP / SALES;
BY LOWEST COUNTRY
BY LOWEST CAR
ON COUNTRY RECOMPUTE
CNT. SALES
GAP
RATIO MULTILINES AS '*TOTAL'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
END
In WF8007 you will notice that on the total line RATIO is ****. This does not occur in 8002. If you change the format of GAP to D12.2, you will see that RATIO is recomputed using CNT. SALES and not SALES.This message has been edited. Last edited by: Danny-SRL,
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
... and if you remove the space between CNT. and SALES? Does not that give the correct value?
TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
SALES
COMPUTE GAP/D7 = RETAIL_COST - DEALER_COST;
COMPUTE RATIO/D4.2L = GAP / SALES;
BY LOWEST COUNTRY
BY LOWEST CAR
ON COUNTRY RECOMPUTE
CNT.SALES
GAP
RATIO MULTILINES AS '*TOTAL'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
END
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Tony, Sorry about the delay. Your solution is correct. However, the space was produced by the GUI and it is the correct syntax by the book (see pages 322 and following in wf77crlang.pdf). So...
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006