Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Limit on number of 'WHERE ' Statements?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Limit on number of 'WHERE ' Statements?
 Login/Join
 
Silver Member
posted
Hi!
Wondering if anyone has an idea on the Max number of 'WHERE ' Statements possible!
Browsed through the available docuementation on 'WHERE ' but no luck yet Frowner

My client here seem to be running queries with thousands of WHERE's and now trying to convert to WF.
I've suggested to use 'WHERE IN FILE ' instead, but was wondering if there is any better way of overcoming the limitations?

Thank you!!


----------------------------------
WFS - V7.6.8 Servlet on Win2k3 VM, Tomcat, ResourceAnalyzer;
DevStudio - R7.6.8, FlexEnable,VisDis; MRE/BID/self-service/Rcaster/ Office2k3;
DB-SQL2005;
 
Posts: 33 | Location: MN | Registered: May 17, 2005Report This Post
Virtuoso
posted Hide Post
From the IBI site.

There is no limit to the number of WHERE statements in a FOCEXEC.

There is a limit to the number of test values in a WHERE statement.
Currently the buffersize to contain test values is 16,000 bytes for a
WHERE statement against a FOCUS database or relational table.

NOTE:The buffersize for an IF statement is 32,737.
The buffersize for SUFFIX=FIX or VSAM files is 3,200 for WHERE or IF
statements.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
Thanks very much for this quick response, Prarie!
... Appreciate those additional Notes, its good to know!

Also, while I am here, let me also say
KUDOS TO ALL YOU CONTRIBUTORS!!
(Have been browsing through the Email-digest everyday, and they really help as in a steep learning curve.. You guys rule!! Thank you! )
 
Posts: 33 | Location: MN | Registered: May 17, 2005Report This Post
Platinum Member
posted Hide Post
The size of the WHERE buffer used to be 32,000 characters. In the latest release this is probably unlimited. BUT, the database may have a limit on the maximum number of characters in a WHERE clause, and that was the reason we had a 32,000 limit.


Release 7.6.9
Windows
HTML
 
Posts: 226 | Registered: June 08, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Limit on number of 'WHERE ' Statements?

Copyright © 1996-2020 Information Builders