Focal Point
computational element is too large
February 05, 2009, 01:39 PM
Kameshcomputational element is too large
I am using WHERE field in FILE HOLD syntax and this syntax have a limitation of 16,000 bytes. If the value goes more than that it throws the error
"computational element is too large"
Is there a way to solve this issue?
WFConsultant
WF 8105M on Win7/Tomcat
February 05, 2009, 02:23 PM
FrankDutchI split the list you get with the hold file into two or more files.
Then I use those files in a DECODE (in DEFINE)
Then I can use the DEFINED field in the WHERE statement.
|
Frank |
| prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
February 05, 2009, 07:05 PM
Darin Leethere are numerous posts and code examples of techniques for this on the forum if you use the search functionality
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
February 05, 2009, 09:11 PM
WazAs Darin say multiple.
e.g. JOIN or MATCH don't have this limitation.
Waz...Prod: | WebFOCUS 7.6.10/8.1.04 | Upgrade: | WebFOCUS 8.2.07 | OS: | Linux |
Outputs: | HTML, PDF, Excel, PPT |
In Focus since 1984 |
Pity the lost knowledge of an old programmer! |
February 06, 2009, 08:36 AM
PBrightwellTry changing it to IF fieldname EQ (filename).
Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
February 06, 2009, 10:00 AM
KameshDarin, Before posting any discussion I use the search functionality first and if I couldn't find anything that I look for then only I will open a discussion. I know how valuable everybody's time is.
I will try the IF and let you know.
Thanks for the suggestions
WFConsultant
WF 8105M on Win7/Tomcat
February 06, 2009, 10:19 AM
KameshPBrightwell, your suggestion worked great.
Thanks
WFConsultant
WF 8105M on Win7/Tomcat
February 06, 2009, 11:06 AM
Darin LeeUsing IF increases the limitation to 32K. If you get larger than that, you will still have the same problem. If you joined to that file with an inner join, you would never have the problem regardless of the size of the file.
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