Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TALLY Maximum Number it can hold

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
manoz_k

New User


Joined: 08 Mar 2007
Posts: 23
Location: CHENNAI

PostPosted: Wed Jul 21, 2010 4:47 pm    Post subject: TALLY Maximum Number it can hold
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Jul 21, 2010 5:16 pm    Post subject: Reply to: TALLY Maximum Number it can hold
Reply with quote

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
View user's profile Send private message
manoz_k

New User


Joined: 08 Mar 2007
Posts: 23
Location: CHENNAI

PostPosted: Wed Jul 21, 2010 5:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Jul 21, 2010 5:29 pm    Post subject: Reply to: TALLY Maximum Number it can hold
Reply with quote

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.... icon_wink.gif

Bill
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2446
Location: Netherlands, Amstelveen

PostPosted: Wed Jul 21, 2010 6:24 pm    Post subject:
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Jul 21, 2010 6:57 pm    Post subject:
Reply with quote

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
View user's profile Send private message
manoz_k

New User


Joined: 08 Mar 2007
Posts: 23
Location: CHENNAI

PostPosted: Wed Jul 21, 2010 7:24 pm    Post subject:
Reply with quote

Thank you All.I am thru...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us