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.
-TYPE &COUNTRY.(OR(FIND CAR.ORIGIN.COUNTRY IN CAR |FORMAT=A10)).COUNTRY:.;
Yes, I have that at the bottom of my post showing how the 'OR' separated list has single quotes around each item.
I need a comma (,) separated list with single quotes around each item
Currently I have to do the following:
-TYPE &|COUNTRY Before: &COUNTRY.(OR(FIND CAR.ORIGIN.COUNTRY IN CAR |FORMAT=A10)).COUNTRY:.;
-SET &COUNTRY = IF &COUNTRY CONTAINS ''' OR ''' THEN TRIM_(BOTH, ' ', STRREP(&COUNTRY.LENGTH, &COUNTRY, 4, ' OR ', 2, ', ', &COUNTRY.LENGTH, '&COUNTRY.TYPE&COUNTRY.LENGTH') ) ELSE &COUNTRY;
-TYPE &|COUNTRY After: &COUNTRY;
And that returns:
&COUNTRY Before: 'ENGLAND' OR 'FRANCE' OR 'ITALY' OR 'JAPAN' OR 'W GERMANY';
&COUNTRY After: 'ENGLAND', 'FRANCE', 'ITALY', 'JAPAN', 'W GERMANY';
I am just wondering if it is possible to get the '&COUNTRY After' results listed above without STRREP manipulation. Since IBI does have the ability to do comma separated values by using a comma instead of 'OR', I was just wondering if it were possible to use this with alpha values as well as numeric to be able to utilize an IN statement without having to do some big ol' hairy function
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015