View previous topic :: View next topic
|
Author |
Message |
manoz_k
New User
Joined: 08 Mar 2007 Posts: 23 Location: CHENNAI
|
|
|
|
I am Using TALLY keyword in my report to print # of records, but my record count is way above 100,000.So i see TALLY record count is truncated in first byte.if suppose count is 535,232 i am getting 35,232*.
How to avoid this ? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Are you referring to the COBOL "TALLY" Special-Register? It has an internal Picture Clause of S9(05) COMP. So, I would define a WS field, as PIC S9(09) COMP (or better yet, COMP-5 if your compiler supports this) and use the WS field instead.
Bill |
|
Back to top |
|
|
manoz_k
New User
Joined: 08 Mar 2007 Posts: 23 Location: CHENNAI
|
|
|
|
I am using TALLY in EasyTrieve Reporting,This is supposed to give Count of records for Summary Column, i am getting '*' towards the end of the count.Actual count's first digit is getting truncated.( only 5 digits are getting displayed ) |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
What does the EZT manual say about the maximum capacity of their "TALLY"?
Review the documentation and/or contact CA and all will be forgiven....
Bill |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Try using TALLYSIZE on your REPORT statement :
The TALLYSIZE option sets the print size for the field TALLY. Valid values for literal-2 are 1 through 18. The actual number of digits used for TALLY on a summary line are the summed value of TALLYSIZE and SUMSPACE.
And yes Bill is right, its all in the manual (as you can see) |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
About the option TALYSIZ=nn, the CA-Easytrieve/Plus Reference Guide wrote: |
Specifies the size of the TALLY field in digits. The valid range is 1 to 18. The value of SUMSPAC is added to TALYSIZ to determine the effective size of the printed field. Using the defaults for SUMSPAC and TALYSIZ, the effective size of TALLY is five digits. Override is through the TALLYSIZE parameter of the REPORT statement. |
|
|
Back to top |
|
|
manoz_k
New User
Joined: 08 Mar 2007 Posts: 23 Location: CHENNAI
|
|
|
|
Thank you All.I am thru... |
|
Back to top |
|
|
|