Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Count Overflow problem
Go
New
Search
Notify
Tools
Reply
  
[SOLVED]Count Overflow problem
 Login/Join
 
Gold member
posted
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)
 
Posts: 86 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Reply With QuoteReport This Post
Platinum Member
posted Hide Post
 
SET COUNTWIDTH=ON
TABLE FILE GGSALES
COUNT *
END

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


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 136 | Registered: October 19, 2010Reply With QuoteReport This Post
Gold member
posted Hide Post
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)
 
Posts: 86 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
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.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6104 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Gold member
posted Hide Post
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)
 
Posts: 86 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Count Overflow problem

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.