Focal Point
[CLOSED] (FOC920) FOCSORT HAS REACHED ITS PAGE LIMIT 524287

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

April 21, 2011, 06:14 AM
MKS
[CLOSED] (FOC920) FOCSORT HAS REACHED ITS PAGE LIMIT 524287
How can I increase the PAGE LIMIT to avoid below error

(FOC920) FOCSORT HAS REACHED ITS PAGE LIMIT 524287

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


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
April 21, 2011, 09:27 AM
Prarie
Does your procedure have BY fields? If not you can change your TABLE FILE To TABLEF FILE

TABLEF does not use FOCSORT.
April 22, 2011, 02:59 AM
MKS
quote:
Does your procedure have BY fields? If not you can change your TABLE FILE To TABLEF FILE

TABLEF does not use FOCSORT.


Yes, I have BY fields. also I am using "FORMAT FOCUS INDEX"


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
April 22, 2011, 04:28 AM
FrankDutch
are you sure the end result will fit in the focus database?
there are limits to that too...2 giga is more or less the limit




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

April 22, 2011, 07:18 AM
MKS
I am not sure. So you mean to say that I can't process the whole table data in batch(together)?


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
April 22, 2011, 03:30 PM
FrankDutch
You need to tell us more about what you want
what is the source
how many records has the source?




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

May 25, 2016, 02:27 AM
reena
How to solve below error in focus?

ERROR AT OR NEAR LINE 159 IN PROCEDURE ../023396.fex


(FOC920) FOCSORT EXCEEDED CURRENT PAGE LIMIT

Focus Error Number=8
ErrHandler: BL-REG-XCHG-CUST-TP focus report failed


WebFOCUS 8
Unix, All Outputs
May 25, 2016, 08:54 AM
jgelona
I see you are on UNIX. Did you run out of allotted disk space?

What is the source? If it is relational, then you can use TABLEF with BY fields (depending on other things like DEFINE, COMPUTES, etc.) and FOCUS will not resort. You also need to examine the SQL generated.

In more recent releases there is a SET command (SQLTOPTTF) that tells WebFOCUS to use TABLEF when it can. I don't think it is in your release of WebFOCUS.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
May 26, 2016, 05:24 AM
reena
Below is my fex file which creating reoprt.
I dont know how to solve the isshu.

ERROR AT OR NEAR LINE 159 IN PROCEDURE ../023396.fex
(FOC920) FOCSORT EXCEEDED CURRENT PAGE LIMIT

----------------------------------------------------------

SET PANEL=136
SET WIDTH=200
SET LINES=52
SET SCREEN=OFF

-*---------* Define input and outpt file names *------*
-SET &EXT_NAME=FGETENV(19,'FCS_SHRT_INPUT_EXTR',14,'A14');
-SET &LAY_NAME=FGETENV(20,'FCS_SHRT_OUTPUT_LAY7',14,'A14');
-SET &&REP_FILE=('../'||&LAY_NAME);
-SET &EXT_FILE=('../'||&EXT_NAME);

-SET &FROM_DATE=FGETENV(9,'FROM_DATE',8,'A8');
-SET &TO_DATE=FGETENV(7,'TO_DATE',8,'A8');
-SET &CYCLE=FGETENV(5,'CYCLE',2,'A2');

-SET &PF_DATE=EDIT(&FROM_DATE,'$$$$99$$') | '/' | EDIT(&FROM_DATE,'$$$$$$99')
- | '/' | EDIT(&FROM_DATE,'9999$$$$');
-SET &PT_DATE=EDIT(&TO_DATE,'$$$$99$$') | '/' | EDIT(&TO_DATE,'$$$$$$99')
- | '/' | EDIT(&TO_DATE,'9999$$$$');
-SET &CYCLE = IF &CYCLE EQ ' ' THEN 'ALL' ELSE &CYCLE;

-SET &&APPARTXT1 = 'From Date';
-SET &&APPARVAL1 = &PF_DATE;

-SET &&APPARTXT2 = 'End Date ';
-SET &&APPARVAL2 = &PT_DATE;

-SET &&APPARTXT3 = 'Cycle ';
-SET &&APPARVAL3 = &CYCLE;

-*------------* Define report code and report name *---*
-SET &REPCODE='ARIN-03-REC';
-SET &REPNAME='CYCLE BILLING RECAP BY NPANXX';
-INCLUDE gnrpdef.fex

-*---------*Define input file *------------------------*
FILEDEF ARRP_BL DISK &EXT_FILE ( RECFM V LRECL 263
SET ASNAMES=ON

-RUN

-*---------*Define output file *-----------------------*
FILEDEF OFFLINE DISK &&REP_FILE (RECFM V LRECL 132
OFFLINE



DEFINE FILE ARRP_BL
DUMMY/A1=' ';
T_AMT/P13.2C=RCCHG+OCCHG+UCCHG+PCCHG;
B_AMT/P13.2C=RCCHG;
P_AMT/P11.2C=PCCHG;
O_AMT/P11.2C=OCCHG;
U_AMT/P11.2C=UCCHG;
NO_MSGS/I9C=NOMSGS;

CATPRE/A6 = EDIT(CATEGORY,'999999') ;
CATSUF/A6 = EDIT (CATEGORY,'$$$$$$999999');
CATCODE/A13 = CATPRE | ' ' | CATSUF ;
ACCTTYPE_NAME/A8=IF ACCTTYPE EQ 'B' THEN 'BUSINESS'
ELSE 'RESIDENT';
NPA_NXX/A7=EDIT(PRODUCTID,'999-999$$$$$$$$$$');
PCYCLE/A3=IF CYCLE NE '0 ' THEN CYCLE ELSE 'ALL';
END

TABLE FILE ARRP_BL
HEADING
-INCLUDE gnrphdr.fex
"CYCLE : "COMPANY : -*---"EXCHANGE : " "
SUM GLCODE AS 'ACCT, CODE ' IN 1
-* CATEGORY AS 'CATEGORY, CODE ' IN 12
CATCODE AS 'CATEGORY, CODE ' IN 10
CATDESC AS ' DESCRIPTION , ' IN 24
T_AMT AS ' TOTAL ' IN 49
B_AMT AS ' RECURRING , AMOUNT ' IN 65
P_AMT AS ' PARTIAL , AMOUNT ' IN 81
O_AMT AS ' ONE TIME , AMOUNT ' IN 95
U_AMT AS ' USAGE , AMOUNT ' IN 109
NO_MSGS AS ' # OF, MESSAGES' IN 123

BY DUMMY NOPRINT
BY CYCLE NOPRINT
BY COMPANY NOPRINT
BY NPA_NXX NOPRINT NOSPLIT PAGE-BREAK
BY GLCODE NOPRINT
BY CATEGORY NOPRINT
BY CATCODE NOPRINT
-*--BY CATDESC NOPRINT
-*-

ON NPA_NXX SUBFOOT
"<13 NPA-NXX <92 " "
WHEN COMPANY NE 'S080'

ON COMPANY SUBFOOT
"" <92
ON CYCLE SUBFOOT SKIP-LINE
"<20 Cycle Total <38 <92
ON DUMMY SUBFOOT
""<20 Report Total <38 <92 " "
FOOTING BOTTOM

-INCLUDE gnrpftr
END


-RUN
-*-------------* Check status of report section *-------*

-IF &FOCERRNUM NE 0 GOTO ERR;

-*-------------* Empty Report Handling *----------------*

-INCLUDE gnrpempt

-*-------------* Exit Program on Success *-------------*

-QUIT FOCUS 0

-*-------------* Exit Program on Error *----------------*

-ERR
-QUIT FOCUS &FOCERRNUM


WebFOCUS 8
Unix, All Outputs
July 05, 2016, 06:26 AM
reena
quote:
Originally posted by jgelona:
I see you are on UNIX. Did you run out of allotted disk space?

What is the source? If it is relational, then you can use TABLEF with BY fields (depending on other things like DEFINE, COMPUTES, etc.) and FOCUS will not resort. You also need to examine the SQL generated.

In more recent releases there is a SET command (SQLTOPTTF) that tells WebFOCUS to use TABLEF when it can. I don't think it is in your release of WebFOCUS.



Yes,I am on unix.Actually this is a monthally Job and for april it failed, then for May it did not failed,
Now for June it agan failed.This is on production data.

I dont understand how is this happening.

What do u mean by source ?

snippet of my code:

TABLE FILE ARRP_BL
HEADING
-INCLUDE gnrphdr.fex
"CYCLE : "COMPANY : -*---"EXCHANGE : " "
SUM GLCODE AS 'ACCT, CODE ' IN 1
-* CATEGORY AS 'CATEGORY, CODE ' IN 12
CATCODE AS 'CATEGORY, CODE ' IN 10
CATDESC AS ' DESCRIPTION , ' IN 24
T_AMT AS ' TOTAL ' IN 49
B_AMT AS ' RECURRING , AMOUNT ' IN 65
P_AMT AS ' PARTIAL , AMOUNT ' IN 81
O_AMT AS ' ONE TIME , AMOUNT ' IN 95
U_AMT AS ' USAGE , AMOUNT ' IN 109
NO_MSGS AS ' # OF, MESSAGES' IN 123

BY DUMMY NOPRINT
BY CYCLE NOPRINT
BY COMPANY NOPRINT
BY NPA_NXX NOPRINT NOSPLIT PAGE-BREAK
BY GLCODE NOPRINT
BY CATEGORY NOPRINT
BY CATCODE NOPRINT
-*--BY CATDESC NOPRINT
-*-


WebFOCUS 8
Unix, All Outputs
July 05, 2016, 06:28 AM
reena
quote:
Originally posted by reena:
[QUOTE]Originally posted by jgelona:
I see you are on UNIX. Did you run out of allotted disk space?

What is the source? If it is relational, then you can use TABLEF with BY fields (depending on other things like DEFINE, COMPUTES, etc.) and FOCUS will not resort. You also need to examine the SQL generated.

In more recent releases there is a SET command (SQLTOPTTF) that tells WebFOCUS to use TABLEF when it can. I don't think it is in your release of WebFOCUS.



Yes,I am on unix.Actually this is a monthally Job and for april it failed, then for May it did not failed,
Now for June it agan failed.This is on production data.

I dont understand how is this happening.

What do u mean by source ?

snippet of my code:

TABLE FILE ARRP_BL
HEADING
-INCLUDE gnrphdr.fex
"CYCLE : "COMPANY : -*---"EXCHANGE : " "
SUM GLCODE AS 'ACCT, CODE ' IN 1
-* CATEGORY AS 'CATEGORY, CODE ' IN 12
CATCODE AS 'CATEGORY, CODE ' IN 10
CATDESC AS ' DESCRIPTION , ' IN 24
T_AMT AS ' TOTAL ' IN 49
B_AMT AS ' RECURRING , AMOUNT ' IN 65
P_AMT AS ' PARTIAL , AMOUNT ' IN 81
O_AMT AS ' ONE TIME , AMOUNT ' IN 95
U_AMT AS ' USAGE , AMOUNT ' IN 109
NO_MSGS AS ' # OF, MESSAGES' IN 123

BY DUMMY NOPRINT
BY CYCLE NOPRINT
BY COMPANY NOPRINT
BY NPA_NXX NOPRINT NOSPLIT PAGE-BREAK
BY GLCODE NOPRINT
BY CATEGORY NOPRINT
BY CATCODE NOPRINT
-*--BY CATDESC NOPRINT
-*-

How to solve below error in focus?

ERROR AT OR NEAR LINE 159 IN PROCEDURE ../023396.fex


(FOC920) FOCSORT EXCEEDED CURRENT PAGE LIMIT

Focus Error Number=8
ErrHandler: BL-REG-XCHG-CUST-TP focus report failed


WebFOCUS 8
Unix, All Outputs