Focal Point
[SOLVED]Count Overflow problem

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

December 03, 2010, 12:48 PM
SeyedG
[SOLVED]Count Overflow problem
All,
I can't see the result of a count statement because the result is too large to display. As a result, it overflows and displays asterisks. What can I do to fix the size of the result? The table that I am getting the count for has more than 80 million rows, but I am using the readlimit to control the run time.

Here is the script:

 

TABLE FILE MY_TABLE
COUNT *
WHERE READLIMIT EQ 1000
END


Thank you,

Seyed

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


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
December 03, 2010, 12:59 PM
dbeagan
 
SET COUNTWIDTH=ON
TABLE FILE GGSALES
COUNT *
END

-* Option 2 (shows thousands separator)
TABLE FILE GGSALES
COUNT SEQ_NO/I11C 
END



WebFOCUS 8.2.06
December 03, 2010, 01:46 PM
SeyedG
Thank you very much. Your solution worked.

Seyed


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
December 05, 2010, 03:36 PM
Waz
You can also use SUM and CNT. with the format specified.

TABLE FILE MY_TABLE
SUM CNT.{Field}/I9
END



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!

December 06, 2010, 05:41 PM
SeyedG
Waz,
Thank you for your help. Your suggestion is very helpful.

Seyed


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)