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     [CLOSED] -Repeat loop limits and &Variable length limit

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] -Repeat loop limits and &Variable length limit
 Login/Join
 
Member
posted
Hi All,

We have a requirement to pass the distinct values in a column in an amber variable to an external application as a URL.

When i process the query in DB the records are coming as more than 65000 rows.

Currently using WebFOCUS 8 version. Can anyone suggest if there is any particular limit to the number of repeat loops allowed Using -REPEAT loop count and also Is there any string length limitation that a variable can hold.

Also please suggest any alternative method if any to read huge distinct values in a column as a comma seperated string to a variable

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.7.2,
Windows XP, HTML,PDF,EXCEL
 
Posts: 12 | Registered: November 19, 2008Report This Post
Expert
posted Hide Post
You have to deal with the limits of URL length before worrying about WebFOCUS -REPEAT limits. The URL length limit is 2083 or 2000, depending on where you read about this. Even if you were to use POST in a form (not possible from a WebFOCUS drill-down hyperlink), 65,000 values is probably way too much and very impractical to work with.

Instead, in the URL, send the criteria you used to determine that there are 65,000 rows...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
You could try this.
If both WebFOCUS and external application has access to one common server, then place the 65,000+ values in a text file and pass the file name(which you can construct at run time) to the external application.

Make sure you generate unique file name each time and right privileges to external application to delete this file at the end of the request.

Hope this works.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
Hi Francis,

Yes we are passing the URL using POST method were the variables are hidden. But while using a repeat loop, the page hangs when loop count is more than 945. Hence i asked for variable length /Loop limitation if any. Still looking for an answer for the limitaton part.

Ram, we will probably try to pass the filtering criteria itslef to external application,since that seems to be a more feasible solution if it works.

Thanks for your suggestion.

This message has been edited. Last edited by: Rajna,


WebFOCUS 7.7.2,
Windows XP, HTML,PDF,EXCEL
 
Posts: 12 | Registered: November 19, 2008Report 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     [CLOSED] -Repeat loop limits and &Variable length limit

Copyright © 1996-2020 Information Builders