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     WebFOCUS Alpha Variable size limits

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WebFOCUS Alpha Variable size limits
 Login/Join
 
Master
posted
It seems that an individual field limit for defines and computes is around 32k (32768).

DEFINE FILE CAR
NEW_FIELD/A32000 WITH COUNTRY = ' ' ;
END
TABLE FILE CAR
PRINT NEW_FIELD
END
-EXIT

Works.

However there seems to be a total field in report output limit of around 32k also.

I would assume these are maximums for relational formats in the master but that wf fields would be 4k for FOCUS and circa 32k for XFOCUS but I have not tested.

Does anyone know what the true limits are?

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



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Master
posted Hide Post
These are the best I can find

http://www.informationbuilders.com/new/tfc/spring2006/04_preview.html

http://techsupport.informationbuilders.com/tech/ibm/ibm_nf_limits.html



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Master
posted Hide Post
Interestingly subroutines work up to either 32k or 4k limit.

SUBSTR has 32k input limit but UPCASE has a max of 4k as this example shows

works
DEFINE FILE CAR
FCHAR/A4094  WITH COUNTRY = ' ' ;
VCHAR/A4095V = FCHAR | 'x' ;
VCHARX/A4095V = UPCASE(4095,VCHAR,'A4095') ;
VCHARLEN/I9   = LENV(VCHARX,'I9');
SS/A10      = SUBSTR(4095,VCHARX,4095,4095,1,'A1V') ;
SSORIG/A10      = SUBSTR(4095,VCHAR,4095,4095,1,'A1V') ;
END
TABLE FILE CAR
PRINT COUNTRY FCHAR VCHAR VCHARLEN SS SSORIG
END


does not work in that SS is blank instead of X
DEFINE FILE CAR
FCHAR/A4095  WITH COUNTRY = ' ' ;
VCHAR/A4096V = FCHAR | 'x' ;
VCHARX/A4096V = UPCASE(4096,VCHAR,'A4096') ;
VCHARLEN/I9   = LENV(VCHARX,'I9');
SS/A10      = SUBSTR(4096,VCHARX,4096,4096,1,'A1V') ;
SSORIG/A10      = SUBSTR(4096,VCHAR,4096,4096,1,'A1V') ;
END
TABLE FILE CAR
PRINT COUNTRY FCHAR VCHAR VCHARLEN SS SSORIG
END



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Master
posted Hide Post
It appears that assignment of intermediate result with length > 4096 results in an error.

So the conclusion would be up to length 4096 wf will always work. From 4k Up to 32k it has been tweaked in various places probably for iway so you might get lucky!

This does not work

DEFINE FILE CAR
NEW_FIELD1/A2049 WITH COUNTRY = ' ' ;
NEW_FIELD2/A2048 WITH COUNTRY = ' ' ;
NEW_FIELD3/A4097 = NEW_FIELD1 | NEW_FIELD2 ;
END
TABLE FILE CAR
PRINT NEW_FIELD3
END
-EXIT

This does

DEFINE FILE CAR
NEW_FIELD1/A2048 WITH COUNTRY = ' ' ;
NEW_FIELD2/A2048 WITH COUNTRY = ' ' ;
NEW_FIELD3/A4096 = NEW_FIELD1 | NEW_FIELD2 ;
END
TABLE FILE CAR
PRINT NEW_FIELD3
END
-EXIT



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report 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     WebFOCUS Alpha Variable size limits

Copyright © 1996-2020 Information Builders