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.
I don't mind that it will list the counted number of stores next to each unique store number in the listing. (I actually need this for my final analysis in Excel).
I cannot figure out how to do this whatsoever. I tried messing with multiple sort fields but nothing worked. Can anyone help?
SET HOLDLIST = PRINTONLY
SET ASNAMES = ON
SET HOLDFORMAT = ALPHA
SET BYDISPLAY = ON
-RUN
TABLE FILE GGSTORES
SUM
CNT.STORE_CODE AS CNT_STORE
BY STATE
PRINT
STORE_NAME
BY STATE
ON TABLE HOLD AS H001
END
-RUN
TABLE FILE H001
PRINT
STORE_NAME
CNT_STORE
BY STATE
END
-RUN
The result:
STATE STORE_NAME CNT_STORE
----- ------------------- ---------
CA GOTHAM GRINDS #1040 2
CA GOTHAM GRINDS #1244 2
CT GOTHAM GRINDS #1100 1
FL GOTHAM GRINDS #1200 1
GA GOTHAM GRINDS #1041 1
IL GOTHAM GRINDS #1020 1
MA GOTHAM GRINDS #1044 1
MO GOTHAM GRINDS #1250 1
NY GOTHAM GRINDS #1109 1
TN GOTHAM GRINDS #1088 1
TX GOTHAM GRINDS #1019 1
WA GOTHAM GRINDS #1248 1
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
I work the same data you do regularly (same company). Don't hesitate to contact me if you continue to have problems. Depending on how your data is stored you may need to tell WebFocus to only return distinct store values.
TABLE FILE HOLDLOCI SUM CNT.DST.LOC WITHIN DIST AS 'LOC,COUNT' BY REGION BY GROUP BY DIST ON TABLE SET PAGE-NUM OFF ON TABLE COLUMN-TOTAL AS 'TOTAL' ON TABLE PCHOLD FORMAT HTML
Instead of, "I can name that tune in 5 notes." I'm seeing "I can solve that problem in 8 lines of code." The next person says, "I can solve that problem in 5 lines of code."
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006