Focal Point
[SOLVED] maximum length of focexec name

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

April 20, 2012, 06:08 PM
JohnB
[SOLVED] maximum length of focexec name
What is the maximum length a focexec name can be and where is this in the documentation?

Thank you.

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


WF 7.7.03, Windows 7, HTML, Excel, PDF
April 20, 2012, 06:14 PM
JohnB
With some testing I found the limit is 64 characters. Still, I'd like to know where this is in the documnetation.


WF 7.7.03, Windows 7, HTML, Excel, PDF
April 21, 2012, 03:01 AM
Alan B
This information can be found in the Developing Reporting Applications manual, under Defining and Allocating WebFOCUS files / Application Files Under Windows / Procedures Under Windows.


Alan.
WF 7.705/8.007
April 22, 2012, 06:31 PM
Waz
The limit may also be related to your OS.

Also the FOCUS catalogs only support up to 64 characters.


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!

April 23, 2012, 05:05 AM
Wep5622
quote:
Originally posted by Waz:
The limit may also be related to your OS.


According to Microsoft:
quote:
"In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters."


So for the OS, the maximum length of your file names depends on the path they're in (on the host file-system).

So the maximum length for your file names is either 64 characters (limited by WebFOCUS), or less if the path to your files is longer than 196 characters (limited by Windows).


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :