ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Comparing sizes of the same file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Comparing sizes of the same file

    Hello Everyone,

    I wrote a program to display files from the system and their size in bytes, then put that information in a physical file. I have this program running monthly and adding to this file. I want to compare the file size growth over the last month. What would be the best way to do this?

  • #2
    Re: Comparing sizes of the same file

    please show us what the definition of the table loos like and a few rows of sample data.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Comparing sizes of the same file

      I just use DSPFD data dumped to an output file and a handful of SQL statements to evaluate the data. Easy to stay on top of file growth, deleted records and other information.

      Comment


      • #4
        Re: Comparing sizes of the same file

        Why not simple getting this information from theSYSTABLESTAT catalog views located in the QSYS2 library?

        Birgitta

        Comment


        • #5
          Re: Comparing sizes of the same file

          Add a column to store the date you captured the file size?

          That way you could compare the change between any two dates where you have data. Or even a time series

          Comment

          Working...
          X