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.
how to convert ' OR ' into ',' in webfocus below is code , Could any please help me
-SET &IND_SECT = '11' OR '22' OR '33'; -SET &BEFORE1=''' OR '''; -SET &AFTER1 =''', '''; -SET &IND_SECT1=STRREP(&IND_SECT.LENGTH,&IND_SECT, &BEFORE1.LENGTH,&BEFORE1, &AFTER1.LENGTH,&AFTER1, &IND_SECT1.LENGTH,'A&IND_SECT1.LENGTH');This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8202
Posts: 61 | Location: India | Registered: March 24, 2014
Are you taking the value from the launch page or from anywhere else like a variable?
If it comes from the launch page then it gives '11' OR '22' OR '33'..... Why the double quote is coming in the beginning and ending - is there any reason!
quote:
how to we do ' OR ' to ' , '
For replacing ' OR ' you can use simple replace function like mentioned above.This message has been edited. Last edited by: Dev,
First of all, the set you have in your last post is wrong. It returns:
(FOC257) MISSING QUOTE MARKS: ';
Secondly, is the value that you are looking to parse like this?
11 OR 22 OR 33
Or is it like this:
'11' OR '22' OR '33'
Either way the formula would be the same. Copy/paste the code below into a blank procedure in AppStudio and run it:
-SET &ECHO=ALL;
-*
-*vvvvvvv NO QUOTES AROUND EACH VALUE vvvvvvvvvvvvvvvvvvvv
-SET &IND_SECT = '11 OR 22 OR 33';
-TYPE &|IND_SECT: &IND_SECT
-*
-SET &IND_SECT1 = REPLACE(&IND_SECT, ' OR ', ', ');
-TYPE &|IND_SECT1: &IND_SECT1
-*
-*
-*vvvvvvvvvSINGLE QUOTES AROUND EACH VALUE vvvvvvvvvvvvvvvv
-SET &IND_SECT = '''11'' OR ''22'' OR ''33''';
-TYPE &|IND_SECT: &IND_SECT
-*
-SET &IND_SECT1 = REPLACE(&IND_SECT, ' OR ', ', ');
-TYPE &|IND_SECT1: &IND_SECT1
You should get the following output in your browser:
-*
-*vvvvvvv NO QUOTES AROUND EACH VALUE vvvvvvvvvvvvvvvvvvvv
-SET &IND_SECT = '11 OR 22 OR 33';
-TYPE &IND_SECT: 11 OR 22 OR 33
&IND_SECT: 11 OR 22 OR 33
-*
-SET &IND_SECT1 = REPLACE(11 OR 22 OR 33, ' OR ', ', ');
-TYPE &IND_SECT1: 11, 22, 33
&IND_SECT1: 11, 22, 33
-*
-*
-*vvvvvvv SINGLE QUOTES AROUND EACH VALUE vvvvvvvvvvvvvvvv
-SET &IND_SECT = '''11'' OR ''22'' OR ''33''';
-TYPE &IND_SECT: '11' OR '22' OR '33'
&IND_SECT: '11' OR '22' OR '33'
-*
-SET &IND_SECT1 = REPLACE('11' OR '22' OR '33', ' OR ', ', ');
-TYPE &IND_SECT1: '11', '22', '33'
&IND_SECT1: '11', '22', '33'
I'm not sure what you are asking about a double quote.
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
I'll check 8.1.04, but its not in the documentation.
Interesting, I don't see it either.
Once again the ambiguity of IBI's version numbering is causing more confusion than answers.
The link above is for "Release 7708," but the "release" of what? The cover of the pdf says "WebFOCUS Functions Reference Release 7708." I don't see a release numbered 7708 anywhere here: http://documentation.informati....com/collections.asp
Does anyone know of a listing of all WebFOCUS functions and the WF Client release that they are first available?
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015