Focal Point
[CLOSED] Getting (FOC098) LIMIT FOR TOTAL LENGTH OF ALL VERB OBJECTS EXCEEDED

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4597016726

January 04, 2013, 03:47 AM
Dani Bilkis
[CLOSED] Getting (FOC098) LIMIT FOR TOTAL LENGTH OF ALL VERB OBJECTS EXCEEDED
Hi,
I have database upgradation to UTF8.
After the upgradation,I am getting below error in one focus file:
(FOC098) LIMIT FOR TOTAL LENGTH OF ALL VERB OBJECTS EXCEEDED
In the focus file we are reading some fields from one database table and holding it in some file.
If I remove some of the columns from the list..it works.
But I need to fetceh all the columns... Can you please help us here?

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


7.0.0.3
January 04, 2013, 10:14 AM
Mary Watermann
Found this statement from tech support's advanced search IB Tech Support:

quote:

Unfortunately this is a known problem with UTF8.

There is a limit on the length of all verb objects of 32k bytes.

With UTF8, the reporting server switches into character semantics mode, and
every character is represented by 3 bytes, instead of one.

So, say you have an A4000VB field, and you do a CHECK FILE on it, you'll
see that it actually has a total length of about 12000 bytes. This means that
by even using two fields of this length, you're already at the 32k limit.
3*12000=36k and the FOC098 will occur.

This limit is to be lifted in release 7.7.0.

I'm now connecting your case with the original problem report, and you
will be notified when the new release is available.



WF 7.6.10, Windows, PDF, Excel
January 04, 2013, 05:33 PM
Mighty Max
Instead of regular TABLE request. Try to pull the data using SQL Passthru. Don't know if this will work or not but its a different approach to pulling the data from the database.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
January 07, 2013, 04:20 PM
Mighty Max
Another thing you could try is to do multiple data pulls and join the data.
If your table has a primary key I would use that to link the hold files.
If not create your own key using a define or computed field.

  
TABLE FILE DATA
PRINT
     FIELD1
     FIELD2
     FIELD3
     FIELD4
BY PRIMARY_KEY
ON TABLE HOLD AS H1 FORMAT XFOCUS INDEX PRIMARY_KEY
END
-RUN

TABLE FILE DATA
PRINT
     FIELD5
     FIELD6
     FIELD7
     FIELD8
BY PRIMARY_KEY
ON TABLE HOLD AS H2 FORMAT XFOCUS INDEX PRIMARY_KEY
END
-RUN

TABLE FILE DATA
PRINT
     FIELD9
     FIELD10
     FIELD11
     FIELD12
BY PRIMARY_KEY
ON TABLE HOLD AS H3 FORMAT XFOCUS INDEX PRIMARY_KEY
END
-RUN

JOIN PRIMARY_KEY IN H1 TO PRIMARY_KEY IN H2 AS J1
JOIN PRIMARY_KEY IN H1 TO PRIMARY_KEY IN H3 AS J2
-RUN

TABLE FILE H1
PRINT
     FIELD1
     FIELD2
     FIELD3
     FIELD4
     FIELD5
     FIELD6
     FIELD7
     FIELD8
     FIELD9
     FIELD10
     FIELD11
     FIELD12
ON TABLE HOLD AS HRPTDATA
END



WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
January 08, 2013, 07:04 AM
Alex
Since you upgraded your DB why not also upgrade WebFOCUS. With 7.0 you're about 8 years behind.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF