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'm not real sure what you are asking for, but take a look at this and let me know if we're headed in the right direction.
TABLE FILE CAR PRINT COMPUTE CNTR/I3S = IF CAR EQ LAST CAR THEN CNTR + 1 ELSE 1; BY CAR BY MODEL ON TABLE HOLD AS HOLD1 END -* TABLE FILE HOLD1 SUM MODEL ACROSS CNTR BY CAR END
Jim
WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005
Another interpretation... Are COL1 and COL2 alphabetical fields and want to concat COL2?
If we have:
COL1 COL2
(COUNTRY) (CAR)
ENGLAND JAGUAR
ENGLAND JENSEN
ENGLAND TRIUMPH
ITALY ALFA ROMEO
ITALY MASERATI
... ...
And we want concat COL2 by COL1:
ENGLAND JAGUAR+JENSEN+TRIUMPH
ITALY ALFA ROMEO+MASERATI
... ...
We need a report like this:
TABLE FILE CAR
SUM CNT.CAR NOPRINT BY COUNTRY
SUM
COMPUTE I/I2 = IF COUNTRY EQ LAST COUNTRY THEN I + 1 ELSE 1 ; NOPRINT
COMPUTE KEY/A250 =
IF I EQ 1 THEN CAR
ELSE SUBSTR(200, LAST KEY, 1, I*16, I*16, 'A200') || '+' || CAR ;
BY COUNTRY
BY CAR NOPRINT
WHERE TOTAL I EQ C1
END
MikelThis message has been edited. Last edited by: Mikel,