Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2502
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: 2502
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: 2422
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 Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm
No new posts CPU time Vs Number of records Nileshkul JCL & VSAM 5 Mon May 09, 2016 4:05 pm
No new posts How LOAD PROGRAM and LOAD on HOLD is ... pkmurali CICS 4 Tue May 03, 2016 6:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us