Creating reports with wf language - 5 Selecting Records for Your Report - Usage Notes for Reading Values from a File.
"For IF the total of all files can be up to 32767 literals including new line and other formatting characters. Lower limits apply to fixed sequential and other non relational data sources"
Should read
For IF field EQ (ddname) up to 32,767 items can be contained in the file refered to by ddname. This is regardless of the length of each item. WebFOCUS applies this limit to non relational sources (FOCUS,XFOCUS,sequential), but this limit may be reduced for relational sources. Here WebFOCUS translates the equality test against the literals in the file to an 'IN' phrase which is subject to the limits of the rdbms (Example Oracle 9.2 only allows 1000 values)
So the limit is much higher than you think!
This can be confirmed by putting
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
into C:\TEST.TXT 32767 times and confirming the program runs.
FILEDEF SAVE DISK C:\TEST.TXT
DEFINE FILE CAR
BIGCOUNTRY/A100 = COUNTRY ;
END
TABLE FILE CAR
PRINT COUNTRY
IF BIGCOUNTRY EQ (SAVE)
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