Focal Point
[CLOSED] What is the max lines allowed in a fex?

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

March 24, 2009, 07:55 AM
LAW
[CLOSED] What is the max lines allowed in a fex?
Created a fex that has 752 lines - cannot save it into MRE. When I give this fex a name and click o.k. the save diag. box goes away but the fex does not get saved to MRE. Just for the heck of it I deleted 50 lines and tried to save it and it saved just fine????? Ideas anyone?????


Webfocus 7.6.8
Windows Server 2003/IIS/Tomcat/Oracle10g

This message has been edited. Last edited by: Kerry,
March 24, 2009, 07:58 AM
LAW
Forgot to mention it has mutltiple -includes...not sure if there is a limit to that or not?
March 24, 2009, 06:32 PM
Darin Lee
As far as I know, there is not a limit to the number of lines allowed. We have a few that are even larger than yours and haven't had any issues. I have seen the content of some lines cause the fex to not save, but never really figured out why. Examine the contents of those last 50 lines and see if there is anything strange. You might try cutting them from the fex and posting them into notepad to see if any odd characters appear and then re-pasting back into you DS fex editor. Also (assuming this in NOT a disk space issue) you might want to check and see if there are space restrictions or file size quotas at the OS level.


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
March 25, 2009, 06:10 PM
Waz
Although it is in 7.1 on Unix, I have a fex in MRe that is over 3000 lines.

Could this be OS related ?

You may have to talk to IBI Tech Support about this.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 25, 2009, 09:57 PM
cburtt
I've worked with many fex containing 1000 lines of code and never had a problem saving.

I agree with Darrin Lee, look for something strange, a non printable character perhaps, in the text.

If it's not obvious, reduce the fex to the absolute minimum to make it syntactally correct, say a single field with no filtering for RECORDLIMIT EQ 5. If that works, add stuff back in bit by bit, saving after each addition, until it fails to save. Then you know the last bit you added contains the bad stuff. Remove the last addition and add only half of it back in and save. By iterations of adding smaller and smaller 'halves' you'll find the exact line containing the code that causes the failure.


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
March 26, 2009, 08:52 AM
jgelona
I had this happen once before. What we found was a line that was supposed to be a -* was just a -.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.