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: 2442
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 Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am

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