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 have a table that lists all emails assigned to particular listings. There can be one email or many emails....I need to concatenate all emails associated to each unique listing address so that I can pull in the concatenated field into a larger report.
I tried this using this method:
COMPUTE VALUE/A1000V = IF PROV_LOCATION_ID EQ LAST PROV_LOCATION_ID THEN ADDRESS || SUBSTR(1000, LAST VALUE, 1, 775, 775, 'A775') ELSE ADDRESS;
however, I'm seeing every iteration of the concatenate and not just the final one in the hold file.
How can I get a table with just one instance of the final concatenation?
It depends if your file is sorted by PROV_LOCATION_ID or not.
If it is here is an example using the CAR file:
DEFINE FILE CAR
MODELS/A200=IF CAR EQ LAST CAR THEN MODEL || ' ' | SUBSTR(1000, LAST MODELS, 1, 170, 170, 'A170') ELSE MODEL;
END
TABLE FILE CAR
SUM LST.MODELS
BY CAR
END
If it isn't then you can do the following:
TABLE FILE CAR
PRINT
MODEL
COMPUTE MODELS/A200=IF CAR EQ LAST CAR THEN MODEL || ' ' | SUBSTR(1000, LAST MODELS, 1, 170, 170, 'A170') ELSE MODEL;
BY CAR
ON TABLE HOLD
END
TABLE FILE HOLD
SUM LST.MODELS
BY CAR
END
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
COMPUTE VALUE/A1000V = IF PROV_LOCATION_ID EQ LAST PROV_LOCATION_ID THEN ADDRESS || SUBSTR(1000, LAST VALUE, 1, 775, 775, 'A775') ELSE ADDRESS;
Do you want any kind of a break between addresses? This would read better if you changed the compute to:
COMPUTE VALUE/A1000V=IF PROV_LOCATION_ID EQ LAST PROV_LOCATION_ID THEN ADDRESS || '; ' | SUBSTR(1000, LAST VALUE, 1, 775, 775, 'A775') ELSE ADDRESS;This message has been edited. Last edited by: PBrightwell,
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
I wish I could be there....there's so much to learn. This forum has been a huge help though. I'm hoping the "powers that be" will allow us to go next year!