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.
Good Afternoon, Is there a limit of nested IFs within a define? And what is the limit of how many defines we can use in a report? Thanks in advanced. Karin
Is there a limit using nested IF-THEN-ELSE statements? Solution: There is no limit on the number of IF-THEN-ELSEs. Previously the limit was 16. Now the limit is depended upon by the amount of memory available. This also depends on what is in the IF-THEN-ELSE. For example: (IF COUNTRY EQ 'ENGLAND' ELSE IF COUNTRY EQ 'FRANCE'
The code above would use less memory then the code below: IF (COUNTRY EQ 'ENGLAND' AND CAR EQ 'JAGUAR' AND SEATS GT 15 AND etc.... THEN ELSE.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Dave, are you talking about Dialog Manager -IF/THEN/ELSE statements instead of FOCUS ones?
In dialog manager you can only use those with GOTO labels, or as part of an assignment (-SET &X=IF ... THEN ... ELSE ...).
I doubt you'd run into a situation where you'd have so many labels to choose from that you'd run into a statement length limit (labels are limited to 12 characters even), so I assume you're talking about the usage of IF THEN ELSE in an assignment?
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :