TODATE: Requesting statistics of activity on or before the specified date

Explanation: TODATE(yyyy/mm/dd) is an optional parameter you use with FROMDATE to limit statistics reports to activity that occurred during that range of time. For yyyy/mm/dd, substitute the last date you want statistics reported.

A leading zero is not required for a one-digit month or day.

Defaults: If you do not specify TODATE, the ending date defaults to the current date.
Note:
  1. You must specify yyyy/mm/dd if you specify TODATE.
  2. If you specify that DFSMShsm report the statistics for the current day, DFSMShsm does not give you the latest statistics. The statistics records are kept in storage and accumulated with a control data set copy of the record only once an hour. Also, each DFSMShsm host uses the same control data set record. New records are created each day for the DFSMShsm activities that occurred today. Therefore, use today’s statistics report as an indication of trends of DFSMShsm activity.
  3. If TODATE is specified, it must not be before FROMDATE (specified or defaulted).
  4. For REPORT VOLUMES, DFSMShsm does not allow requesting a range of dates spanning the century. In other words, both FROMDATE and TODATE (whether specified or defaulted) must be before 1 January 2000, or both FROMDATE and TODATE (whether specified or defaulted) must be after 31 December 1999.

    For REPORT VOLUMES, DFSMShsm will not report volume statistics for the current date unless that date is within the range of dates requested.