The TALLY special register is the name of a binary data item that has the following definition:
01 TALLY GLOBAL PICTURE 9(5) USAGE BINARY VALUE ZERO.
When used in nested programs, this special register is implicitly defined with the global attribute in the outermost program.
You can refer to or modify the contents of TALLY.
You can specify the TALLY special register in a function wherever an integer argument is allowed.