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.
One thing i found fairly interesting about this was the fact that i had to make sure the sql query was structured correctly as once the FOC_NONE is selected it disregards the whole line so for an example.
if the query line was structured like so and A.Category_code = '&CATEGORY_CODE' and B.BUREAU_ABBREVIATION = '&BUREAU' and F.STATUS_DESC = '&STATUS_DESC' and A.DEPUTY_ID = &DEPUTYID
and was on a single line the whole line was disregarded if the structure was as so
and A.Category_code = '&CATEGORY_CODE' and B.BUREAU_ABBREVIATION = '&BUREAU' and F.STATUS_DESC = '&STATUS_DESC' and A.DEPUTY_ID = &DEPUTYID
the only line that was disregarded was the line that the FOC_NONE was selected.
You're right on - my one pet peeve with using FOC_NONE. Rather than parsing the statement into its components and eliminating the one with the FOC_NONE value, WF looks at the line and if it finds FOC_NONE, it disregards the whole line. S you've already picked out the solution - anytime you use FOC_NONE, you MUST make sure that either (1) it is not a compound where, or (2) that each component of a compound statement is on its OWN line. Unfortunately, when using DevStudio, if you make a compound where, it likes to combine them on a single line which then bites you.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Yes, the entire line that contains the value of FOC_NONE is thrown out. I also use this in headings, footings, etc. to elimiate the line if they select all.